Hi all,
Consider a URL structure like this
http://example.com/12345/keyword-rich-slug
Where '12345' is the page id. Now my system lets users change the title of the page, so eventually, the same URL above could be changed to something like this but still show the same content:
http://example.com/12345/keyword-rich-slug-edited
So the page id is still the same, with just a different slug.
Now I was wondering if declaring the canonical URL like this:
http://example.com/12345
This is the only thing that is needed for me to serve the right content and would be perfect and avoid having to change the canonical URL everytime the user changes the page title.
But the problem(or not) is that the canonical URL now doesn't include any 'keyword-rich-slug'. Will that have an impact on SEO for the site?