Hi there,
I need to redirect from a non-www domain name, e.g. example.com to www.example.com
In apache this is done with
<Virtualhost IP>
ServerName example.com
RedirectPermanent / http://www.example.com
</Virtualhost>
But in the custom HTTP config you cannot add a virtual host.
I am wondering what files I need to edit, and will the changes stick around if a user changes settings ?
Is there a global template I can edit to add this feature to all sites by default?
Thanks in advance
I need to redirect from a non-www domain name, e.g. example.com to www.example.com
In apache this is done with
<Virtualhost IP>
ServerName example.com
RedirectPermanent / http://www.example.com
</Virtualhost>
But in the custom HTTP config you cannot add a virtual host.
I am wondering what files I need to edit, and will the changes stick around if a user changes settings ?
Is there a global template I can edit to add this feature to all sites by default?
Thanks in advance