Satisfies the update required in the publishing tools sidebar to store the slug of the category AND the article for retrieval by the front-end.
Saving this document:
Results in this record in article_slug_versions:
Meaning if the category slug is changed in the future, like in this example 'business' is changed to 'industry', and an existing link of /articles/business/simple-article-body is clicked, there will be a record of the cat slug business with the article slug simple-article-body that points to the right article ID in the database.
357
Satisfies the update required in the publishing tools sidebar to store the slug of the category AND the article for retrieval by the front-end.
Saving this document:
Results in this record in
article_slug_versions
:Meaning if the category slug is changed in the future, like in this example 'business' is changed to 'industry', and an existing link of
/articles/business/simple-article-body
is clicked, there will be a record of the cat slugbusiness
with the article slugsimple-article-body
that points to the right article ID in the database.