Rewriting all HTTPS to HTTP
-
Trying to do this.. and failing. I can get the main https://mysite.com or https://www.mysite.com to rewrite to http://mysite.com but nothing else will.
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{SERVER_PORT} ^443$
RewriteCond %{REQUEST_URI} !^/wp-login\.php
RewriteCond %{REQUEST_URI} !^/wp-admin/
RewriteRule ^(.*)$ http://mysite.com/$1 [R=301,L]I’m needing SSL access to the login, and admin as well. Though I need every single post and page to redirect to the http://mysite.com/post version etc.
Thanks for any and all guidance.
The topic ‘Rewriting all HTTPS to HTTP’ is closed to new replies.