4 ms·
Please set up a redirect to the canonical URL. This is helpful to third party systems that interact with your site, such as search engines and content sharing s
by devrandomguy 9y ago
Please set up a redirect to the canonical URL. This is helpful to third party systems that interact with your site, such as search engines and content sharing sites. It also eliminates the issue you raised.
- mintplant 9y agoRedirect what to the canonical URL? The entire tag? Why, just to fix this HN submission? The proper solution here is to shoot an email to hn@ycombinator.com (which I've done).
- devrandomguy 9y agoRedirect the tag to the particular article that it currently references. Only show users the "correct" url that you want them to use in the future (history, bookmarks, sharing, etc). https://support.google.com/webmasters/answer/139066?hl=en https://support.google.com/webmasters/answer/139066?hl=en
- arjie 9y agoBruh, the tag is a page containing a list of articles that are tagged with that tag. Redirecting to the latest post with the tag would defeat the entire point of having that page.
- devrandomguy 9y agoThe original link took me straight to the article, not to a list of articles with that tag. It was a single article, with the URL of a tag. Anyway, I didn't mean to argue. Have a nice evening :)
- spiznnx 9y agoThe tag [0] doesn't currently reference the article, it references a collection of articles. But in this instance there is currently only one article in the collection. When there are two articles with the tag, they will both be shown on the 'publishing' page, in their entirety, newest first. See [1] for an example. Redirecting would be akin to Google redirecting you to the current top result (like I'm feeling lucky, but for all searches) [0] http://approximatelycorrect.com/tag/publishing/ http://approximatelycorrect.com/tag/publishing/ [1] http://approximatelycorrect.com/tag/machine-learning/ http://approximatelycorrect.com/tag/machine-learning/