I have the following bunch of domains:
- myDomain.de
- myDomain.com
- myDomain.co.za
- myDomain.org
- myDomain.com
- myDomain.com.na
What is the shortest way to write in the htaccess, to make ALL domains...
- Redirect to https://www.myDomain.com. I.e. Regardless of the domain that is entered, it will add www AND redirect to https, and
- Still work on my localmachine (so that if someone types in http://localhost/site/src that it won't redirect to the www sites?