Canonical link for SEO #8020

Open
opened 2025-11-02 07:51:15 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @ghost on GitHub (Oct 25, 2021).

Feature Description

Gitea should include a canonical link in the HTML to help with SEO. I've noticed bots wasting time crawling issues pages etc with random different parameters. I could disallow indexing on query strings but based on a little research, the proper way is for the page to have a canonical url without the parameters.

I do not have any issue trackers with more than once page so I'm not sure whether page number uses query parameter or not.

Screenshots

Originally created by @ghost on GitHub (Oct 25, 2021). ### Feature Description Gitea should include a canonical link in the HTML to help with SEO. I've noticed bots wasting time crawling issues pages etc with random different parameters. I could disallow indexing on query strings but based on a little research, the proper way is for the page to have a canonical url without the parameters. I do not have any issue trackers with more than once page so I'm not sure whether page number uses query parameter or not. ### Screenshots ![](https://2951.kitty.moe)
GiteaMirror added the type/proposal label 2025-11-02 07:51:15 -06:00
Author
Owner

@lunny commented on GitHub (Oct 25, 2021):

Hi, Could you help to send a PR to resolve this?

@lunny commented on GitHub (Oct 25, 2021): Hi, Could you help to send a PR to resolve this?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#8020