Will
Active member
I have it pretty much all set up and stuff but need some help converting my redirects from my .htaccess file.
Any help would be appreciated.
Code:
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI} admin.php
RewriteRule ^(.*)$ https://domain.com/$1 [R,L]
RewriteCond %{HTTPS} on
RewriteRule ^/?$ http://domain.com/ [R=301,L]
RewriteCond %{HTTP_HOST} !^domain\.com$
RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L]
Any help would be appreciated.