Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.
redirect 301 /Produkte/Supplements http://xxx.xx/Produkte/Inhaltsstoffe/Proteine

why does this rule also redirects





can't get my head around it.

share|improve this question

migrated from stackoverflow.com Sep 17 '12 at 16:59

This question came from our site for professional and enthusiast programmers.

1 Answer 1

Due to apache docs - If the client requests http://example.com/Produkte/Supplements/xyz , it will be told to access http://xxx.xx/Produkte/Inhaltsstoffe/Proteine/xyz instead. This also includes requests with GET parameters.

To workaround this use more complex RedirectMatch rule like so:

RedirectMatch ^\/Produkte\/Supplements$ http://xxx.xx/Produkte/Inhaltsstoffe/Proteine
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.