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

Create link canonical/alternate elements based on languages and page URL #2

Merged
merged 1 commit into from
Sep 5, 2023

Conversation

lhelwerd
Copy link
Member

@lhelwerd lhelwerd commented Sep 5, 2023

- Ensure link elements are created/updated properly
- Navigation bar uses the Locale to generate the links, which now use
  absolute URLs, which are hopefully canonical and abide by the
  guidelines at https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls#rel-canonical-link-method
- Update docs and tests for canonical/location-based URLs
@sonarcloud
Copy link

sonarcloud bot commented Sep 5, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

warning The version of Java (11.0.20) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here

@lhelwerd lhelwerd merged commit e0cb7f9 into master Sep 5, 2023
4 checks passed
@lhelwerd lhelwerd deleted the link-canonical-alternate branch September 5, 2023 15:11
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

Successfully merging this pull request may close these issues.

None yet

1 participant