I'm making a nextjs website that has multiple magazines with periodical issues using the following dynamic route structure:
so the URL
~/magazines/social-innovation-magazine/1 would obviously go to a page that displays the 1st issue of "Social Innovation Magazine" and that page has a canonical that matches its URL.
Now, I wanna create a fixed route that would go to the latest issue of a specific magazine, something like:
So the URL
~/magazines/social-innovation-magazine/latest would take the visitor to the latest issue page of "Social Innovation Magazine" - let's say the latest issue is currently number 11 - that way I would have to keep changing the canonical link in "latest" to match the URL of the latest issue number (11,12...)
Is that the right way to do it SEO wise? is it OK to keep changing the canonical? and if not, how do I achieve this?