/ Published in: Apache
It's great because it's a drop-in code that doesn't require domain alteration. Works really well with any server too (some servers fail with other methods).
Expand |
Embed | Plain Text
RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
You need to login to post a comment.
