Created
March 30, 2019 14:49
-
-
Save elkebirmed/daee62330d1b1b3db93c60c270ba163a 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
RewriteEngine on | |
RewriteCond %{HTTP_HOST} ^site.com$ [NC,OR] | |
RewriteCond %{HTTP_HOST} ^www.site.com$ | |
RewriteCond %{REQUEST_URI} !public/ | |
RewriteRule (.*) /public/$1 [L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment