Skip to content

fix: improve technical SEO hygiene - #163

Merged
oycyc merged 5 commits into
masterpointio:mainfrom
LindsayB610:codex/technical-seo-hygiene
Aug 22, 2026
Merged

fix: improve technical SEO hygiene#163
oycyc merged 5 commits into
masterpointio:mainfrom
LindsayB610:codex/technical-seo-hygiene

Conversation

@LindsayB610

@LindsayB610 LindsayB610 commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

what

  • Add self-referencing canonical, Open Graph, and Twitter URLs, including paginator-aware canonicals for list pages.
  • Point internal links directly to their final routes and normalize trailing slashes in shared navigation, cookie preferences, and affected content.
  • Optimize four oversized article images in place while preserving their paths and rendered layouts.

why

  • Prevent paginated collections from incorrectly canonicalizing to page one and reduce duplicate-page ambiguity.
  • Remove 309 of 311 Ahrefs-reported internal links to redirects, leaving two legal-policy contact links for a separate formatting-safe cleanup.
  • Reduce image transfer weight by 53–87% without changing templates, crops, or asset URLs.

references

Summary by CodeRabbit

  • Bug Fixes

    • Standardized contact, privacy, terms, support, and article links with consistent paths and trailing slashes.
    • Corrected links to relocated blog content.
    • Improved pagination URL handling for more accurate page navigation.
  • SEO and Sharing

    • Added consistent canonical URL metadata across pages.
    • Aligned Open Graph, Twitter, and structured-data URLs with canonical page addresses.
    • Improved canonical URL handling for paginated content.

@LindsayB610
LindsayB610 requested a review from a team as a code owner August 9, 2026 05:41
@netlify

netlify Bot commented Aug 9, 2026

Copy link
Copy Markdown

Deploy Preview for masterpoint ready!

Name Link
🔨 Latest commit fc1f1f3
🔍 Latest deploy log https://app.netlify.com/projects/masterpoint/deploys/6a89e4e60588550008f24a5e
😎 Deploy Preview https://deploy-preview-163--masterpoint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 45
Accessibility: 89
Best Practices: 92
SEO: 81
PWA: 70
View the detailed breakdown and full score reports

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

@coderabbitai

coderabbitai Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: e2dbe3e0-573e-4b9f-8e82-5abffa690cfd

Walkthrough

The change normalizes internal URLs across site content, configuration, templates, and client assets. It also adds pagination-based canonical URL handling for list pages and related metadata.

Changes

URL normalization and metadata

Layer / File(s) Summary
Canonical URL generation
config.yaml, layouts/_default/list.html, layouts/partials/head.html
List pages store a paginator URL as canonicalURL. Head metadata uses this value for canonical, social, and structured-data URLs.
Internal URL normalization
assets/js/plugins.js, config.yaml, content/blog/*, content/now/_index.md, content/sections/home-make-infrastructure.md, content/supports/towards-ukraine.md, content/who-we-are/_index.md, layouts/partials/footer.html
Internal links use trailing slashes, and article references use /blog/ paths.

Estimated code review effort: 2 (Simple) | ~10 minutes

Sequence Diagram(s)

sequenceDiagram
  participant ListTemplate
  participant Scratch
  participant HeadTemplate
  ListTemplate->>Scratch: Store paginator URL as canonicalURL
  HeadTemplate->>Scratch: Read canonicalURL override
  HeadTemplate->>HeadTemplate: Render canonical and social metadata
Loading

Possibly related PRs

Suggested reviewers: gberenice

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the pull request's main purpose: improving technical SEO across canonical URLs, links, and assets.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@layouts/_default/list.html`:
- Around line 1-2: Update the paginator initialization in the list template to
call .Paginator without the ignored page-size argument, while preserving the
existing canonicalURL assignment; configure page size through paginate/pagerSize
settings or use .Paginate where an explicit size is required.

In `@layouts/partials/head.html`:
- Around line 81-85: Update the JSON-LD metadata values at the existing
structured-data outputs near lines 221 and 230 to use the already computed
$canonicalURL instead of .Permalink. Keep the canonical, Open Graph, and Twitter
metadata unchanged so all emitted URL fields consistently reference the same
canonical URL.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 1d31b6e9-9f80-4713-b608-f2286c701bdd

📥 Commits

Reviewing files that changed from the base of the PR and between b272768 and a315f3a.

⛔ Files ignored due to path filters (4)
  • static/img/updates/ai-meets-tf-prompt-strategies-for-test-generation/yang-weston-woodworking-robotic-arm.png is excluded by !**/*.png
  • static/img/updates/managing-googleworkspace-with-terraform/preview-3.png is excluded by !**/*.png
  • static/img/updates/terraform-null-label-part1.png is excluded by !**/*.png
  • static/img/updates/tf-versioning-guide/main.jpeg is excluded by !**/*.jpeg
📒 Files selected for processing (26)
  • assets/js/plugins.js
  • config.yaml
  • content/blog/2023-07-17-hiring-july-2023.md
  • content/blog/2023-08-10-understanding-the-terraform-check-block-feature.md
  • content/blog/2024-02-08-terraform-controller-overview.md
  • content/blog/2024-03-05-terraform-null-label-advanced.md
  • content/blog/2024-05-13-terraform-use-cases.md
  • content/blog/2024-08-22-terralith-monolithic-terraform-architecture.md
  • content/blog/2024-10-10-migrate-off-tfc.md
  • content/blog/2025-02-06-why-use-cloud-object-storage-terraform-remote-backend.md
  • content/blog/2025-03-06-steps-to-break-up-a-terralith.md
  • content/blog/2025-04-01-importance-of-efficient-notifications-terraform-automation.md
  • content/blog/2025-04-17-using-mcps-to-run-terraform.md
  • content/blog/2025-05-21-tf-terminology-breakdown.md
  • content/blog/2025-06-22-oss-iac.md
  • content/blog/2025-07-17-platform-engineering-way-to-manage-google-workspace-users.md
  • content/blog/2025-09-17-fix-iam-trust-policy-errors-using-aws-sso-regional-arn.md
  • content/blog/2025-10-06-standard-tf-files.md
  • content/blog/2026-06-22-using-opentofu-exclude-flag-isolate-performance-bottlenecks.md
  • content/now/_index.md
  • content/sections/home-make-infrastructure.md
  • content/supports/towards-ukraine.md
  • content/who-we-are/_index.md
  • layouts/_default/list.html
  • layouts/partials/footer.html
  • layouts/partials/head.html

Comment thread layouts/_default/list.html Outdated
Comment thread layouts/partials/head.html
gberenice
gberenice previously approved these changes Aug 10, 2026
Gowiem
Gowiem previously approved these changes Aug 16, 2026

@Gowiem Gowiem left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Didn't read through every change, but spot checked a bunch and they look good. :shipit:

@LindsayB610
LindsayB610 dismissed stale reviews from Gowiem and gberenice via aeb1000 August 18, 2026 17:52
@oycyc
oycyc enabled auto-merge (squash) August 22, 2026 19:55
@oycyc
oycyc merged commit b2b78af into masterpointio:main Aug 22, 2026
7 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.

4 participants