summaryrefslogtreecommitdiffstats
path: root/htaccess.dist
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-09-13 11:14:13 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-09-13 11:14:13 +0000
commit1a02832521f6580671fa10ee89cfd503fa6b8948 (patch)
treec98c3eeaf1472e54cd9ecbfe8a3bea9df7125a28 /htaccess.dist
parentcca8e94d9cfbb93c59f75409cf84fdd3f0efeda9 (diff)
downloadwordpress-mu-1a02832521f6580671fa10ee89cfd503fa6b8948.tar.gz
wordpress-mu-1a02832521f6580671fa10ee89cfd503fa6b8948.tar.xz
wordpress-mu-1a02832521f6580671fa10ee89cfd503fa6b8948.zip
Rewrite www.domain.com -> domain.com
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@320 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'htaccess.dist')
-rw-r--r--htaccess.dist3
1 files changed, 3 insertions, 0 deletions
diff --git a/htaccess.dist b/htaccess.dist
index 37491e5..7605cb2 100644
--- a/htaccess.dist
+++ b/htaccess.dist
@@ -1,6 +1,9 @@
RewriteEngine On
RewriteBase BASE/
+# Rewrite www.domain.com to domain.com
+RewriteCond %{HTTP_HOST} ^www\.(.*)
+RewriteRule ^(.*) http://%1/$1 [R,L]
###
#### blogs