Created
July 2, 2014 07:13
-
-
Save agustinhaller/1a398c0ceacea4e19a03 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DirectoryIndex site/index.html | |
| FileETag none | |
| ServerSignature Off | |
| Options All -Indexes | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] | |
| RewriteRule ^(.*)$ http://%1/$1 [R=301,L] | |
| ########### WEBSITE URLs ######### | |
| #RewriteRule ^robots.txt$ robots.php$1 [L] | |
| #RewriteRule ^rss$ rss.php$1 [L] | |
| #RewriteRule ^sitemap.xml$ sitemap.php$1 [L] | |
| RewriteRule ^admin$ admin/index.html$1 [L] | |
| </IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment