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?
how to convert url to www
Moderator: General Moderators
- EverLearning
- Forum Contributor
- Posts: 282
- Joined: Sat Feb 23, 2008 3:49 am
- Location: Niš, Serbia
Re: how to convert url to www
Take a look at this link:
How to do 301 redirection.
It contains examples how to do redirection using PHP or using Apache.
How to do 301 redirection.
It contains examples how to do redirection using PHP or using Apache.