How to redirect www to http thro htaccess
-
I am trying to redirect all traffic from ‘www.mysite.com’ to https://mysite.com by editing the .htaccess file.
However, I am not sure which lines to edit/delete and which ones to add. I tried solutions found on different blogs but none of them did the trick.
This is my current (and I imagine the standard) /htaccess file:# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to redirect www to http thro htaccess’ is closed to new replies.