101 reputation
2
bio website
location
age
visits member for 10 months
seen May 19 at 19:39
stats profile views 0

Apr
9
awarded  Popular Question
Aug
3
awarded  Supporter
Jul
23
comment Best practice for adding the www subdomain: Via an A record or htaccess redirect?
Lèse majesté, thanks for the tips. I agree, a redirect is the best approach. Out of interest however, what do you mean setup a canonical URL for each page? You mean by setting the relationship attribute: rel="canonical"?
Jul
23
comment Best practice for adding the www subdomain: Via an A record or htaccess redirect?
Thanks Anagio. I'd agree. Setting up the subdomain and also including the htaccess redirect seems to be the best overall solution to avoid duplicate content penalties. Good point about shared hosting too. In those cases they usually make the alias but don't handle the redirect. Thanks for the tip regarding Google Webmaster Tools too.
Jul
23
comment Best practice for adding the www subdomain: Via an A record or htaccess redirect?
Admittedly my explanation isn't too clear on second glance. Basically I'm looking for best practices and generally it's best practice to setup a www subdomain even though it's not required. Then from other comments it seems best practice to then setup the htaccess redirect too to avoid the duplicate content issue in search engines. So it's part of the whole and specific to the www. subdomain, not any subdomain.
Jul
22
asked Best practice for adding the www subdomain: Via an A record or htaccess redirect?