https redirect not working in htaccess
-
I currently redirect to a folder in my htaccess file to load up my wordpress site. I just got a SLL cert that I would like to force a redirect, but it seems my code is in error. Any thoughts on to force to https?
# BEGIN WordPress <IfModule mod_rewrite.c> Header set Connection keep-alive RewriteEngine On RewriteCond %{HTTP_HOST} ^(www.)?pariscreative.com$ RewriteRule ^(/)?$ _PCv3 [L] RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://pariscreative.com/$1 [R=301,L] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] RewriteCond %{QUERY_STRING} .*\btag=([^&]*).* RewriteRule ^search\.cgi /?tag=%1 [R=302] </IfModule> AddType x-mapp-php5 .php # END WordPress
- The topic ‘https redirect not working in htaccess’ is closed to new replies.