Change full url path with .htaccess -


i want change page url .htaccess url 'page.com/web/' , want have page.com. give me htacces code. example

rewriteengine on rewritecond %{request_uri} !^/$ rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule ^(.*)$ /?$1 [l] 

try :

rewriteengine on   rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule ^(.*)/?$ web/$1 [nc,l] 

Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -