I created a website and I would like when I put any link pointing to my website, the "www" to be removed.
For example when someone enters
http://www.mydomain.com/users into the browser address, this to be changed into
http://mydomain.com/users when the page loads up.
I have seen this happening with twitter. if you try to go to
http://www.twitter.com/john it will automatically remove the "www" and change the address to
However, this does not happen for
I am not sure if this have something to do with the domain's configuration (CNAME record?) but any point / tip to the right direction will be really appreciated!