Created
February 7, 2017 07:50
-
-
Save KrissieV/eead31a8c8304c70771a18e304dedc2f to your computer and use it in GitHub Desktop.
This file contains 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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{SERVER_PORT} 80 | |
RewriteRule ^(.*)$ https://northuxdesign.com/$1 [R,L] | |
RewriteBase / | |
RewriteRule ^index\.html$ - [L] | |
# directories to exclude | |
RewriteCond %{REQUEST_URI} !(wp-json/*|uploads) [NC] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.html [L] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment