Server Fault is a question and answer site for system and network administrators. 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 would like to add 1500 url redirections using .htaccess on a apache server. Is it a bad idea ? will it decrease the performances significantly?


share|improve this question
up vote 4 down vote accepted

It would probably work but it will be difficult to maintain. Performance will start to take a hit as you increase the number of directives, so if there are patterns in your redirects, you may look to bundle them into a single directive (if you can).

It would be architecturally superior to knock together a quick script that looked up the redirection from a more-maintainable and indexed file format (or preferably a database).

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.