Skip to content
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

Expose canonical URLs to improve searchability in web crawlers #6517

Open
DougReeder opened this issue Nov 18, 2024 · 0 comments
Open

Expose canonical URLs to improve searchability in web crawlers #6517

DougReeder opened this issue Nov 18, 2024 · 0 comments
Labels
enhancement work that enhances an existing feature

Comments

@DougReeder
Copy link
Contributor

DougReeder commented Nov 18, 2024

Is your feature request related to a problem? Please describe.
A number of the URLs in Hubs, including the root URL \, are also served at other URLs. Web crawlers like Google often decline to index pages where they can't determine the canonical URL. They may also conclude different instances of Hubs are actually the same. This makes it unlikely that the URLs will show up in search results, or they may show up when they shouldn't.

Describe the solution you'd like
Either

  1. To the page header, add a rel="canonical" link
  2. To the HTTP header, add a rel="canonical" header

Describe alternatives you've considered
A sitemap would provide a weaker signal of canonical paths.

Additional context
Here, Google has confused the signin page of my instance, with that of hubs.xrspaces.de:
Screenshot 2024-11-18 at 12 28 30 PM

@DougReeder DougReeder added the enhancement work that enhances an existing feature label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement work that enhances an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant