Created
January 23, 2021 02:48
-
-
Save stephenjude/38591892a6760956a576998e71b472f7 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
#redirect setup for laravel project on primary domain on a shared server | |
RewriteEngine on | |
RewriteCond %{HTTP_HOST} ^(www.)?prep50mobileapp.com.ng$ | |
RewriteCond %{REQUEST_URI} !^/blog/public/ | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ /blog/public/$1 | |
RewriteCond %{HTTP_HOST} ^(www.)?prep50mobileapp.com.ng$ | |
RewriteRule ^(/)?$ blog/public/index.php [L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment