redirect 301 /Produkte/Supplements http://xxx.xx/Produkte/Inhaltsstoffe/Proteine
why does this rule also redirects
/Produkte/Supplements/xyz
to
http://xxx.xx/Produkte/Inhaltsstoffe/Proteine/xyz
?
can't get my head around it.
redirect 301 /Produkte/Supplements http://xxx.xx/Produkte/Inhaltsstoffe/Proteine
why does this rule also redirects
/Produkte/Supplements/xyz
to
http://xxx.xx/Produkte/Inhaltsstoffe/Proteine/xyz
?
can't get my head around it.
Due to apache docs - If the client requests
http://example.com/Produkte/Supplements/xyz
, it will be told to accesshttp://xxx.xx/Produkte/Inhaltsstoffe/Proteine/xyz
instead. This also includes requests with GET parameters.To workaround this use more complex
RedirectMatch
rule like so: