redirect all https to http
-
Hi,
I’ve built a website with wordpress for a client that used to be running on https (the old site was non-wordpress).
I’d like to redirect all https links to http.
I’ve tried this below (found on stackoverflow) but didn’t work
Options +FollowSymlinks
<IfModule mod_rewrite.c>
RewriteEngine OnRewriteCond %{SERVER_PORT} ^443$
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]# BEGIN WordPress
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
</IfModule>Thank you in advance for any tips you might have.
- The topic ‘redirect all https to http’ is closed to new replies.