• Welcome to AcornDomains.co.uk, a friendly community for UK domain investors, developers and anyone interested in domain names.

    Whether you're looking to buy or sell domains, learn more about the UK domain market, get feedback on your names, or simply chat with other domainers, you're in the right place. AcornDomains has been bringing together people from across the UK domain industry for many years, from complete beginners to experienced investors.

    Have a look around, join the discussions and, if you haven't already, create a free account and introduce yourself.

htaccess help!

ian

Joined
Jan 10, 2008
Posts
4,052
Reaction score
753
I've set the following htaccess redirects to cover off all instances of non-https, as well as any potential 404 errors, but I want all traffic to go to www. if the url is typed without. Can someone help!

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
ErrorDocument 404 https://MYURL
 
Top Bottom