What’s the best way to redirect from web root (e.g., example.com) and the www subdomain (e.g., http://www.example.com) to a specified subdomain? I’ve not got great access to the server I’m working on, so editing .htaccess or similar would probably be the most practical solution.
Share
In .htaccess:
That’ll do a 301 redirect and will include anything after the initial /, so
example.com/page.htmlwill go tosubdomain.example.com/page.html