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!
