Return to Snippet

Revision: 33785
at October 13, 2010 09:05 by arrowj


Updated Code
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
RewriteBase /

Revision: 33784
at October 13, 2010 09:03 by arrowj


Initial Code
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
RewriteBase /

Initial URL
no-www.org

Initial Description
strips the www from all URLs on your domain

Initial Title
no-www.org class b

Initial Tags
htaccess

Initial Language
HTML