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

Sc 22919/search console errors #1398

Merged
merged 2 commits into from
Oct 1, 2024
Merged

Conversation

samnixon87
Copy link
Contributor

Address lack of canonical links

Copy link

sonarcloud bot commented Oct 1, 2024

content: metaDescription,
}];
// Construct the canonical URL dynamically based on the siteUrl and current page's path
const canonicalUrl =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does this fix the pages that have multiple paths. e.g. the versioned security pages? Should we have page metadata referring to the canonical url, and then default to the current page?

@samnixon87 samnixon87 merged commit 33bab0d into main Oct 1, 2024
6 checks passed
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.

3 participants