root domain redirection: example.com to www.example.com
Monday, July 14th, 2008I hate that .. when organisations (the biggest offenders I see appear to be the .gov.uk sites) don’t do their redirects properly.
I always just type the root domain, example.com. But for sites that I manage I choose “www.example.com” to be canonical - mainly because in print it’s best to use the www. address as it’s easy to pick out as a web address. For .com’s this isn’t as important as for .org or .net, IMO, as nowadays most people recognise that “.com” refers to a website.
UnderĀ Apache this is easy, add this to your .htaccess file in the document root:
This page is a repost of one made when searching for mailing list management software for the