Skip to content

Add a canonical link to every page - #198

Closed
bendichter wants to merge 1 commit into
mainfrom
canonical-link
Closed

bendichter wants to merge 1 commit into
mainfrom
canonical-link

Conversation

@bendichter

Copy link
Copy Markdown
Contributor

The Netlify production build serves a second copy of the site at nwborg.netlify.app with nothing telling search engines not to index it, and any page can be linked with tracking parameters appended. A canonical link tells search engines that the nwb.org address is the one to index. Deploy previews are built with their own base URL and Netlify already marks them noindex, so they are unaffected.

The paginated news list is left without one. Hugo gives every page of that list the same .Permalink, so a canonical link there would point page 2 at page 1.

🤖 Generated with Claude Code

The Netlify production build serves a second, indexable copy of the site
at nwborg.netlify.app, and pages can also be linked with tracking
parameters. A canonical link tells search engines that the nwb.org
address is the one to index.

The paginated news list is left out. Hugo gives every page of that list
the same `.Permalink`, so a canonical link there would point page 2 at
page 1.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@netlify

netlify Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for nwborg ready!

Name Link
🔨 Latest commit 36ddccd
🔍 Latest deploy log https://app.netlify.com/projects/nwborg/deploys/6ac936ea5ecf220008b907ef
😎 Deploy Preview https://deploy-preview-198--nwborg.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 project configuration.

@bendichter

Copy link
Copy Markdown
Contributor Author

Superseded by #208, which combines this with the related PRs. The commits here are included there unchanged.

@bendichter bendichter closed this Oct 11, 2026
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.

1 participant