The site works on the basis of MySQL database, there used to be an engine and links in it were about such
.ru/index.php/option/content/task/view/id/301 .ru/index.php?option=content&task=view&id=301
And everything worked, no matter how the link looked, it opened ID = 301, but now I changed the engine, now my site opens only links of this type
.ru/index.php?option=content&task=view&id=185
But there are sites that have links to my site.
.ru/index.php/option/content/task/view/id/301
What to do? How to get out of the situation? Or how to prescribe so that b .../content/task/...
this method also worked?