Answer the question
In order to leave comments, you need to log in
How to form the end of the url of the redirected page?
For subcategory redirect it says:
RewriteRule ^ekonomia/svyaz/?(.*)$ http://site.ru/svyaz/$1 [R=301,L]
http://site.ru/svyaz/noi
Answer the question
In order to leave comments, you need to log in
Use negation!
RewriteCond %{REQUEST_URI} !^ekonomia/svyaz/svyaz.*$ [NC]
RewriteRule ^ekonomia/svyaz/?(.*)$ http://site.ru/svyaz/$1 [R=301,L]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question