Skip to content

Conversation

eric-burel
Copy link
Contributor

@eric-burel eric-burel commented Jan 27, 2025

I got deindexed by Google due to the lack of a proper canonical link, so here is a small update to set it up when the website has a configured absolute URL.

image

The PR just needs a double check because I was running the demo code which doesn't have an astro.config so no Astro.site.

Current palliative is to setup a custom HeadTags.

Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@eric-burel eric-burel changed the title add sensible default canonical url feat(astro): add sensible default canonical url Jan 27, 2025
Copy link
Member

@Nemikolh Nemikolh left a comment

Choose a reason for hiding this comment

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

Nice! Thanks for the fix 🎉

@Nemikolh Nemikolh merged commit 1a5ea33 into stackblitz:main Jan 27, 2025
12 of 14 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.

2 participants