• Resolved elo8617

    (@elo8617)


    Hi,

    In advance, sorry for my bad english, I’m french.

    If I correclty understand, the “Enforce SSL” option add a 301 redirection from http to https ? That it’s correct ?

    At the beginning, the site was indexed in http by Google.

    Then, I’ve installed a SSL and enforce the ssl from Solid Security, but Google denied to index the https version. Any idea ?

    In advance, thanks.

    Best regards

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support chandelierrr

    (@shanedelierrr)

    Hi @elo8617, thanks for reaching out! We’re happy to help you here.

    While both methods might seem similar, they serve different purposes:
    The Solid Security Enforce SSL feature ensures all connections to the website admin area are made over SSL/TLS. t does not add a 301 redirect and is implemented within the WordPress configuration (wp-config.php).

    On the other hand, a 301 redirect deals with URL changes and is typically configured at the server level. It’s a permanent redirect, indicating that the resource has moved permanently to another location.

    If Google is having trouble indexing the HTTPS version of your site (after implementing SSL), there might be a misconfiguration somewhere. I’ll try to list down some troubleshooting steps that you can do to resolve it:

    • In WP Admin > Settings > General, ensure that both WordPress Address and Site Address URLs are set to https://rcognitiv.fr
    • In WP Admin > Settings > Reading, ensure that the Search engine – “Discourage search engines from indexing this site” box isn’t checked. Then double-check your site’s robots.txt file and make sure it isn’t blocking the Googlebot from crawling the HTTPS version.
    • Re-save your WP Permalinks settings.
    • Check your site’s .htaccess file to ensure that there aren’t conflicting redirect rules.
    • Double-check your SSL configuration and make sure that your SSL certificate is valid.
    • Make sure that all the site’s internal links are set to HTTPS. You can search your database for HTTP instances and update them using a query. Or, you can use a search-and-replace WordPress plugin. In both cases, make sure to have a site backup and, preferably, ask for dev/hosting assistance before proceeding.
    • Set up proper 301 redirects from HTTP to HTTPS in your server configuration or by using a WordPress plugin.
    • Use Google Search Console to add/verify the HTTPS version of your site, and make sure your sitemap is correct and includes the HTTPS URLs.
    • Lastly, try clearing all your caches (plugin, CDN, server).

    If the issue persists, I’d recommend asking for a developer/SEO assistance to investigate further. I’d also recommend checking this article out: https://www.searchenginejournal.com/definitive-list-reasons-google-isnt-indexing-site/118245/

    Hope this helps!

    Thread Starter elo8617

    (@elo8617)

    Hi,

    Thank you very much !!

    Here my answers :

    • In?WP Admin > Settings > General, ensure that both WordPress Address and Site Address URLs are set to?https://rcognitiv.fr ->> YES

    • In?WP Admin > Settings > Reading, ensure that the Search engine – “Discourage search engines from indexing this site” box isn’t checked. Then double-check your site’s robots.txt file and make sure it isn’t blocking the Googlebot from crawling the HTTPS version. >> YES

    • Re-save your WP Permalinks settings. >> I WILL TRY

    • Check your site’s .htaccess file to ensure that there aren’t conflicting redirect rules.

    HERE RULES

    RewriteCond %{HTTPS} on [OR]
    RewriteCond %{SERVER_PORT} ^443$ [OR]
    RewriteCond %{HTTP:X-Forwarded-Proto} https
    RewriteRule .* – [E=WPR_SSL:-https]

    • Double-check your SSL configuration and make sure that your SSL certificate is valid.

      IT’S OK

    • Make sure that all the site’s internal links are set to HTTPS. You can search your database for HTTP instances and update them using a query. Or, you can use a search-and-replace WordPress plugin. In both cases, make sure to have a site backup and, preferably, ask for dev/hosting assistance before proceeding.

      I’VE ALLREADY MADE THIS VERIFICATION WITH BETTER SEARCH AND REPLACE

    • Set up proper 301 redirects from HTTP to HTTPS in your server configuration or by using a WordPress plugin.
      HOW I CAN DO THIS ? I’VE THIS RESULT WITH A REDIRECTION CHECKER
      https://rcognitiv.fr/
      HTTP/1.1 301 Moved Permanently
      Content-Type: text/html; charset=UTF-8 Transfer-Encoding: chunked
      Connection: keep-alive
      Keep-Alive: timeout=15
      Date: Thu, 23 Nov 2023 12:51:01 GMT
      Server: Apache
      X-Powered-By: PHP/8.1.25
      X-Redirect-By: Solid Security
      Location: https://rcognitiv.fr/
    • Use Google Search Console to add/verify the HTTPS version of your site, and make sure your sitemap is correct and includes the HTTPS URLs.
      HERE IS MY SITEMAP https://rcognitiv.fr/sitemap_index.xml
      GOOGLE REPLY THIS “Le sitemap redirige vers une page http”. I DON’T UNDERSTAND WHY.
    • Lastly, try clearing all your caches (plugin, CDN, server).

      In advance, thanks !
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Http to https redirection’ is closed to new replies.