You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 20, 2018. It is now read-only.
We're already storing a history of slugs for each post, now we should make sure the client is accessing the post by its canonical URL. This allows the blog author to change a post's slug (and therefore URL) without breaking links.
Simply check if the requested slug equals the canonical slug; if not, do a 301 redirect to the post's URL.
The text was updated successfully, but these errors were encountered:
We're already storing a history of slugs for each post, now we should make sure the client is accessing the post by its canonical URL. This allows the blog author to change a post's slug (and therefore URL) without breaking links.
Simply check if the requested slug equals the canonical slug; if not, do a 301 redirect to the post's URL.
The text was updated successfully, but these errors were encountered: