How to make a CNC?

Hello. Tell me where to find a way to make NC queries to the database, because there is prepared a column with the desired links. On YouTube most of the clips out of date on the sites that I looked up ways to clean using htaccess, but this is detrimental to seo.

Please tell me.
March 25th 20 at 13:42
1 answer
March 25th 20 at 13:44
CNC in General is aydishnik at the end of the record. This ensures that the page is unique.

/articles/hello-world-1/

In this unity we find the article, and the text (slug: hello-world) links can be different.
Know that there you have a question about the duplication of content type link /hello-world-1/ is the same as /hello-foo-1/, however, your links always Builder will generate it for hello-world, and on the website that is visible to robots, will never be hello-foo

ps. "Bad times" the opportunities are so-so. They will, but not those who do the work, and those who arranges and counts the money. And the fact that you're here says that it's true
Ideally you need to be a redirect from /articles/hello-foo-1/ at /articles/hello-world-1/ - tiara_Lueilwitz79 commented on March 25th 20 at 13:47

Find more questions by tags PHP