Created
June 6, 2019 01:57
-
-
Save DanielSantoro/d9bb491ef57c8c6cce9742d19102099d to your computer and use it in GitHub Desktop.
Redirect to subfolder
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
RewriteEngine on | |
RewriteCond %{HTTP_HOST} ^(www.)?twigandolivephotography.com$ | |
RewriteCond %{REQUEST_URI} !^/site/ | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ /site/$1 | |
RewriteCond %{HTTP_HOST} ^(www.)?twigandolivephotography.com$ | |
RewriteRule ^(/)?$ site/index.html [L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment