I want to redirect all the requests that come to the folder 'test' to 'test1' using apache configurations. How do i do it?


Could use mod_alias to make it happen:

Alias /path/to/test /path/to/test1

Put this into your config for the website (or the config for the virtual host). If you have overrides enabled for the directory, this could be put in the .htaccess file for the root of your website.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.