I am trying to rediret from ssl back to non ssl in apache and I am not having any luck. Can this be done via htaccess?
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} on
RewriteCond %{HTTP_HOST} www.mydomain.org
RewriteRule (.*) http://www.mydomain.org/$1 [R=301,L]
Try this code in your .htaccess file under DOCUMENT_ROOT:
Options +FollowSymlinks -MultiViews
RewriteEngine on
RewriteCond %{SERVER_PORT} =443
RewriteRule . http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With