I want to redirect all directories to another directory.
Example:
http://www.example.com/my/cool/link
should redirect to
http://www.example.com/xyz
Thanks in advance
If I understood your question correctly, you wish to redirect all directories on the server to one specific directory?
If that's the case, try something like this
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.*)$ /xyz
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments