php - Using .htaccess to remove folder from URL -
i have laravel app, , document root of host configured @ laravel root folder (upper directory of public).
i tried following .htaccess
silently rewrite urls, keeps redirecting me /public, instead of showing domain url , rewriting /public
rewriteengine on rewriterule ^(.*)?$ /public$1 [l,nc]
i want visit example.com
, see laravel app, not redirecting user example.com/public
.
this definitely : removing /public segment in laravel 4 app
http://creolab.hr/2013/03/removing-the-public-segment-in-a-laravel-4-app/
Comments
Post a Comment