Answer the question
In order to leave comments, you need to log in
How to make a redirect when changing the name of the news?
I output news in this format site/news/nazvanie_novosti.html, this part "nazvanie_novosti" is stored in the database in the translit field as a translit header.
How to make search engines find the new version of the page through the old one when changing the title?
I understand how to do it if I had a unique id in the address - it's easy, but what should I bind to when it doesn't exist?
Answer the question
In order to leave comments, you need to log in
1. store history in a separate table.
2. display id in the title, then you can pull id out of any title
3. do not change the title!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question