Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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