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
RewriteCond %{HTTP_HOST} ^yourdomain.com$ [NC,OR] | |
RewriteCond %{REQUEST_URI} !yourapp/public | |
RewriteRule (.*) /yourapp/public/$1 [L] | |
place it at your public_html (shared hosting 'root' directory ). | |
if you call http://yourdomain.com so you will point out to public_html/yourapp/public/index.php |