Avoid landing page redirects
-
Good day folks,
To have less landing page redirects we used the code you suggested here:
https://really-simple-ssl.com/knowledge-base/avoid-landing-page-redirects
As follows:
#Redirect non-www to www
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
</IfModule>We also have the plugin configured like this:
Mixed content fixer – ON
Enable WordPress 301 redirection to SSL – ON
Enable 301 .htaccess redirect – ON
Enable Javascript redirection to SSL – OFF
Debug – ON
Stop editing the .htaccess file – OFF
Use alternative method to fix mixed content – OFF
Dismiss all Really Simple SSL notices – OFFHowever, when we run the speedtest on gtmetrix we still have this:
There is 1 redirect
https://website.com/ redirects to https://www.website.com/
Any suggestions on how to take care of this issue?
In advance, thank you for your help and interest.
- The topic ‘Avoid landing page redirects’ is closed to new replies.