UnixGuru

×
×

Force www. version of domain to be used

Back

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

Was this article helpful?
Dislike0 Like0

Views: 265