-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Think about rel=canonical
linking
#251
Comments
Ahhh, based on your explanation of I was thinking that If search engines typically just use this to deduplicate results and avoid wasteful crawling, that's not necessarily a bad thing. I'm sure it would still highlight the relevant thing you're searching for in the search result and use the scroll to text fragment syntax ( It seems to work out for Reddit and StackExchange which all do this 🤷. I think I'm in favor of adding this ⏩ Relevant links: |
rel=canonical
linking
A bit better explanation: |
I don't know whether this should be a separate issue here, but I would also like
👍 Maybe this is something that should be implemented specifically for this client in the way you stated, as opposed to in an MSC. The more I think about that, the more it makes a lot more sense. (The use-case for this is the same self-hosted community situation we talked about at #234 (comment)) |
Spawning from #238 (comment),
It is not trivial how to apply it here, but basically if multiple pages are only differentiated by a query argument and contain the exact same set of messages with only tiny changes (such as in its highlighting or in its preview metadata), they should be linked back together to a single canonical URL. A search engine crawler is free to throw away any and all alternative links which fold back to the same
canonical
one instead of indexing each of them separately.See here for detailed explanation:
For example, StackExchange offers path-based routing for individual answers to a given question, but marks the document up so that each almost identical such document shall refer back to the path of the question as a canonical link:
https://stackoverflow.com/a/482129/796832 -> https://stackoverflow.com/questions/184618/what-is-the-best-comment-in-source-code-you-have-ever-encountered/482129#482129
The text was updated successfully, but these errors were encountered: