Answer the question
In order to leave comments, you need to log in
Why is the redirect rule executed when the address does not exactly match?
There is a rule in htaccess:
Redirect 301 /cat-1/cat-2 http://site.ru/newcat/
When processing the following address:
http://site.ru/cat-1/cat-2/cat-3/material/
This rule fires and redirects to the page:
http://site.ru/newcat//cat-3/material/
It seems that it replaces the "/cat-1/cat-2" part and then just adds the rest of the address. Unless, in my case this rule should be executed?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question