htaccess non www to www redirect not working
-
Hi
I’ve read through and implemented a number of things re the redirect of non www urls to www but I can’t seem to get it to work.
This is my .htaccess file<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{http_host} ^schoolpics.co.uk [NC] RewriteRule ^(.*)$ https://www.schoolpics.co.uk/$1 [L,R=301] RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
I’ve confirmed that both urls in settings>general include the wwww.
Is there something else I should be trying or somewhere else I should be looking?
Thanks in advance
Sue
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘htaccess non www to www redirect not working’ is closed to new replies.