afsy afsy - 5 months ago 27
PHP Question

redirect all subfolder request to a specific folder

I am trying to redirect all the requests to a specific folder inside my domain.

Like this. needs to be redirected to by preserving the requested address


Try this method which will redirect as you expect

RewriteRule ^(.*)$ /specifiedfolder/$1 [L]