Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

Thanks

share|improve this question

1 Answer 1

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

 
discard

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.