Permalink
Browse files

Add kohanaphp.com -> kohanaframework.org redirect

  • Loading branch information...
1 parent 80506e6 commit 6487d8b7212e29c5363942d0567b775ca687a322 @kiall kiall committed Dec 2, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 public/.htaccess
View
@@ -10,6 +10,10 @@ RewriteBase /
Deny From All
</Files>
+# Redirect from old domain to new
+RewriteCond %{HTTP_HOST} ^(?:www\.)?kohanaphp.com$ [NC]
+RewriteRule ^(.*)$ http://kohanaframework.org/$1 [R=301,L]
+
# Remove www. from the URL
RewriteCond %{HTTP_HOST} ^www.kohanaframework.org$ [NC]
RewriteRule ^(.*)$ http://kohanaframework.org/$1 [R=301,L]

0 comments on commit 6487d8b

Please sign in to comment.