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

Fix canonical English URLs to fix Algolia search crawling #11925

Merged
merged 2 commits into from
Jan 15, 2024
Merged

Conversation

wackerow
Copy link
Member

Description

  • Removes the "en" path prefix from the canonical URL being generated inside PageMetadata component

Related Issue

With the Next.js migration, English pages no longer use the /en/ path prefix, and going to these routes will redirect to /**. As such this, this is causing cyclical logic within our Algolia search crawler:

Copy link

netlify bot commented Jan 13, 2024

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit 0e0cf8a
🔍 Latest deploy log https://app.netlify.com/sites/ethereumorg/deploys/65a575ecb24e080008c672e9
😎 Deploy Preview https://deploy-preview-11925--ethereumorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@nhsz nhsz merged commit a022c2e into dev Jan 15, 2024
6 of 7 checks passed
@nhsz nhsz deleted the english-canonical branch January 15, 2024 18:14
This was referenced Jan 17, 2024
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

2 participants