This has been done many times by others, but just a quick tip on how to add or remove www.
from your website’s address. This is helpful for URL canonicalization and user experience consistency. You can also achieve SEO-friendly canonicalization using rel="canonical"
. Oh boy, I’m getting too technical 🙂
Here’s the juicy part:
Add the following to the .htaccess
file in your website’s root folder (often named public_html
or www
). If there’s not a file named .htaccess
, you may create it. If you are creating the .htaccess
file, set the permissions to 644
. For security reasons, you don’t want others to be able to write to this file. Continue reading “How to Add www. – or Remove www. – From Your URL”