/ Published in: Apache

Expand |
Embed | Plain Text
# Redirect without www prefix RewriteCond %{HTTP_HOST} ^www\.example\.net$ [NC] RewriteRule ^(.*)$ http://example.net/$1 [r=301,NC,L]
You need to login to post a comment.
minipark on 10/19/10
1 person have marked this snippet as a favorite
# Redirect without www prefix RewriteCond %{HTTP_HOST} ^www\.example\.net$ [NC] RewriteRule ^(.*)$ http://example.net/$1 [r=301,NC,L]
You need to login to post a comment.