Page 1 of 1

how to convert url to www

Posted: Sun Aug 17, 2008 1:40 am
by eshban
hi

suppose my website is http://www.abc.com it is accessed via 2 urls
1) http://www.abc.com
2) http://abc.com

i want that if some user access it via http://abc.com it will automatically switches to http://www.abc.com

any solution that how to do this?

Re: how to convert url to www

Posted: Sun Aug 17, 2008 3:33 am
by EverLearning
Take a look at this link:

How to do 301 redirection.

It contains examples how to do redirection using PHP or using Apache.