I've made this modest CMS in PHP (and Zend Framework).
The content of a page of the published website is stored in a MySQL TEXT field. When editing the content of a page, one is able to create links to other internal pages within the website.
The pages slugs (SEO uri's) are also editable in the CMS.
What is a good way to synchronize internal links in content, when a page's slug that is linked to is altered by the end-user of the CMS?
I welcome solutions, from simple and robust solutions (without too much refactoring of the database), to more complex and flexible, that need some refactoring of the database and such. What are some good ideas to handle this?
Thanks in advance.
PS.: It doesn't have to be specified in PHP/MySQL. Just the global concept will probably do fine, unless it is something obscure that PHP/MySQL is unable to handle of course.