Last active
August 29, 2015 14:19
-
-
Save dbox/7ad726f775112d181e9d to your computer and use it in GitHub Desktop.
cove htaccess
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
Options -Multiviews | |
RewriteEngine On | |
RewriteBase / | |
# 404 page | |
ErrorDocument 404 404.html | |
# Clean URLs | |
RewriteRule ^apartments$ /apartments.html [L] | |
RewriteRule ^amenities$ /amenities.html [L] | |
RewriteRule ^/$ /index.html [L] | |
RewriteRule ^contact$ /contact.html [L] | |
RewriteRule ^404$ /404.html [L] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment