Domain multiple redirect
-
Good afternoon, Hopefully this is the right place to ask. My (Litespeed) webhosting provider, was kind enough to add this to my .htaccess file: RewriteCond %{HTTP_HOST} !^www.mydomain.nl$ [NC] RewriteRule (.*) https://www.mydomain.nl/$1 [R=301,L] RewriteCond %{HTTPS} !=on RewriteRule ^ https://www.mydomain.nl%{REQUEST_URI} [R=301,L] It should prevent a multiple redirect. But when I check on https://www.redirect-checker.org/index.php, I still see: http://mydomain.nl 301 Moved Permanently https://mydomain.nl/ 301 Moved Permanently https://www.mydomain.nl/ 200 OK Does anybody know how I can get 1 redirect, in stead of 2? I think this would be better: https://mydomain.nl 301 Moved Permanently https://www.mydomain.nl/ 200 OK Could it be the .htaccess lines are correct, but there is a redirect caching that still shows the old (multiple) redirects? Or do the lines need to be changed? Thanks in advance :)
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Domain multiple redirect’ is closed to new replies.