Answer the question
In order to leave comments, you need to log in
CNC and changing the structure of urls. So right from the point of view of seo?
Hello Toaster!
A long time ago I screwed the CNC to the links:
To make it - site.ru/item.php?country=ru&city=moscow&id=123 It
looked beautiful - site.ru/ru/moscow/123/
RewriteRule ^([a-z]{2})/([a-z-]+)/([0-9]+)/?$ item.php?country=$1&city=$2&id=$3 [QSA]
RewriteRule ^([a-z]{2})/([a-z-]+)/([0-9]+)/?$ /tour/$3/ [QSA,R=301]
RewriteRule ^tour/([0-9]+)/?$ item.php?id=$1 [QSA]
Answer the question
In order to leave comments, you need to log in
And why do you now from the original to irrelevant? Make from both old structures to the new one.
I.e:
ps Two redirects are worse than one.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question