Welcome to WebmasterWorld Guest from 23.20.6.115

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

.htaccess Rewrite - http:// to http://www

How do I redirect all urls to a www?

     
7:30 am on Mar 8, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:June 17, 2003
posts:107
votes: 0


Hello,

I just found out that my SSL certificate will only work if there is a www. in front of the domain.

So how do I create an .htaccess rewrite so that

[url.com...] or [url.com...]

will end up with the www. like [url.com?...]

Shane

4:19 pm on Mar 8, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
posts:25430
votes: 0


Shane,

This issue has been widely covered here, so it might be productive to start with this search [google.com].

Jim