chore: canonicalize blog posts with relevant organization tag - #2740
Open
muhammad-ali-pk wants to merge 1 commit into
Open
chore: canonicalize blog posts with relevant organization tag#2740muhammad-ali-pk wants to merge 1 commit into
muhammad-ali-pk wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2740 +/- ##
=======================================
Coverage 74.64% 74.64%
=======================================
Files 19 19
Lines 2374 2374
=======================================
Hits 1772 1772
Misses 602 602
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the blog article template to make canonical.com the authoritative domain for canonical URLs and structured data, improving how crawlers interpret Canonical-hosted blog content.
Changes:
- Update the blog article canonical URL logic to default to
https://canonical.com/blog/<slug>(with existing tag-based exceptions). - Use the canonical URL (instead of
request.url) for the Article JSON-LD"url"field. - Update the JSON-LD publisher name from “Ubuntu” to “Canonical”.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
muhammad-ali-pk
force-pushed
the
WD-36486
branch
from
August 17, 2026 11:41
2176135 to
7392e2a
Compare
muhammad-ali-pk
force-pushed
the
WD-36486
branch
from
August 19, 2026 08:26
e1a820b to
823acc8
Compare
… others to ubuntu.com
muhammad-ali-pk
force-pushed
the
WD-36486
branch
from
August 19, 2026 08:26
823acc8 to
a103e46
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Done
canonical-announcementsgrouped blog posts to be canonical.om, and for all else to be ubuntu.comQA
dotrunld+jsonArticleIssue / Card
Fixes WD-36486
Screenshots
[if relevant, include a screenshot]