Welcome to WebmasterWorld Guest from

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
votes: 0


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?...]


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
votes: 0


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