Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- How to permanently redirect mydomain.com to WWW.madomain.com?


diddlydazz - 4:56 pm on Dec 12, 2008 (gmt 0)


this works for me:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^example\.com
RewriteRule ^(.*)$ http://www.example.com/$1 [R=permanent,L]


Thread source:: http://www.webmasterworld.com/apache/3805417.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com