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

Add link rel="canonical" to responses #1764

Open
rafalp opened this issue Jul 6, 2024 · 0 comments
Open

Add link rel="canonical" to responses #1764

rafalp opened this issue Jul 6, 2024 · 0 comments
Labels
area: backend This issue involves Python, Django or dependency (eg. database) feature: auth This issue involves auth feature: categories Categories page feature: search Searching for content or users feature: thread page Thread and private thread pages feature: threads list Lists of threads feature: user profiles new feature New feature

Comments

@rafalp
Copy link
Owner

rafalp commented Jul 6, 2024

If canonical_link is included in a context, its prefixed with settings.forum_address and included in the response HTML as <link rel="canonical" href="..." />.

@rafalp rafalp added area: backend This issue involves Python, Django or dependency (eg. database) new feature New feature feature: auth This issue involves auth feature: search Searching for content or users feature: threads list Lists of threads feature: thread page Thread and private thread pages feature: user profiles feature: categories Categories page labels Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: backend This issue involves Python, Django or dependency (eg. database) feature: auth This issue involves auth feature: categories Categories page feature: search Searching for content or users feature: thread page Thread and private thread pages feature: threads list Lists of threads feature: user profiles new feature New feature
Projects
None yet
Development

No branches or pull requests

1 participant