afsy afsy - 1 month ago 6x
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]