Menu
So I am stuck
I have a redirect for port 80 traffic to redirect to https version of the site. so all the site is on https
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$
All pages redirect to correct version on https.
NOW I want to change domain to dom-ain.com but I am stuck on how to redirect to this new https domain possibly non https at first.
I have back links on the web to the non https version and https version of domain.com
What should the htaccess code be if I want the site to redirect to the new domain now and I plan to keep it an exact replica in structure and content.