Skip to content

Create a "/latest" stub URL for redirecting to the latest release blog post

Created by: unknwon

Just going to copy-paste my comment on Slack:

Do you think there’s a way to do that programmatically? For example, if 3.XX is the latest release If /blog/release/3.XX exists, link to it If /blog/release/3.XX doesn’t exist, then don’t show any blog link

The way I was thinking is to on the blog site, automatically redirect "/latest" to the specific URL for the latest release post, as a compromise, some users may see the second-latest release post for a short period of time. Not sure if this compromise is acceptable but IMO this is more robust and we would have more control since changes can be made on our (server) side, not on customers' instances side.