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

Adding canonical links to spec docs #739

Open
excentrickristy opened this issue May 8, 2024 · 1 comment
Open

Adding canonical links to spec docs #739

excentrickristy opened this issue May 8, 2024 · 1 comment

Comments

@excentrickristy
Copy link

As discussed here: #582

Here is my first batch of additions to jakarta.ee/src/static/_headers

/specifications/platform/10/jakarta-platform-spec-10.0.html
Link: https://jakarta.ee/specifications/platform/10/jakarta-platform-spec-10.0; rel="canonical"

/specifications/platform/10/jakarta-platform-spec-10.0
Link: https://jakarta.ee/specifications/platform/10/jakarta-platform-spec-10.0; rel="canonical"

/specifications/webprofile/10/jakarta-webprofile-spec-10.0
Link: https://jakarta.ee/specifications/webprofile/10/jakarta-webprofile-spec-10.0; rel="canonical"

/specifications/webprofile/10/jakarta-webprofile-spec-10.0.html
Link: https://jakarta.ee/specifications/webprofile/10/jakarta-webprofile-spec-10.0; rel="canonical"

/specifications/coreprofile/10/jakarta-coreprofile-spec-10.0
Link: https://jakarta.ee/specifications/coreprofile/10/jakarta-coreprofile-spec-10.0; rel="canonical"

/specifications/coreprofile/10/jakarta-coreprofile-spec-10.0.html
Link: https://jakarta.ee/specifications/coreprofile/10/jakarta-coreprofile-spec-10.0; rel="canonical"

/specifications/authorization/2.1/jakarta-authorization-spec-2.1
Link: https://jakarta.ee/specifications/authorization/2.1/jakarta-authorization-spec-2.1; rel="canonical"

/specifications/authorization/2.1/jakarta-authorization-spec-2.1.html
Link: https://jakarta.ee/specifications/authorization/2.1/jakarta-authorization-spec-2.1; rel="canonical"

/specifications/batch/2.1/jakarta-batch-spec-2.1
Link: https://jakarta.ee/specifications/batch/2.1/jakarta-batch-spec-2.1; rel="canonical"

/specifications/batch/2.1/jakarta-batch-spec-2.1.html
Link: https://jakarta.ee/specifications/batch/2.1/jakarta-batch-spec-2.1; rel="canonical"

@excentrickristy
Copy link
Author

Bumping to see if anyone can tackle this. I know it's busy pre-release.

Here is an example of Google struggling to decide what pages to serve:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant