afsy afsy - 4 months ago 12
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]