Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Fix URLs for pages whose titles have changed#1654

Merged
yndajas merged 1 commit intomainfrom
fix-urls
Nov 10, 2025
Merged

Fix URLs for pages whose titles have changed#1654
yndajas merged 1 commit intomainfrom
fix-urls

Conversation

@yndajas
Copy link
Copy Markdown
Member

@yndajas yndajas commented Nov 6, 2025

Two of these had changed title such that the URL was a little misleading; the third was close enough but is updated for accuracy

Including redirects for all the former URLs despite the slight change in scope for two of them


In case it helps future developers, I found these by:

cd src
grep --recursive "title:" about-us commercial-ops contributing delivery-management design govpress-unit leadership product-management sales-and-marketing staff-handbook tech user-research work-we-do
irb

In IRB, to create a list of instances where the case-normalised filename (or folder name if the file is an index) and page title don't match

File.readlines("paths_and_titles").map { _1.chomp.sub("/index", "").split("/").last.gsub("-", " ").downcase.split(".md:title: ") }.select { _1.first != _1[1] }

Lastly, manually inspect the list and look for mismatches that could be misleading

@netlify
Copy link
Copy Markdown

netlify Bot commented Nov 6, 2025

Deploy Preview for laughing-payne-b9fbd2 ready!

Name Link
🔨 Latest commit 7fa565a
🔍 Latest deploy log https://app.netlify.com/projects/laughing-payne-b9fbd2/deploys/690cc27f93e3aa0008dae7f0
😎 Deploy Preview https://deploy-preview-1654--laughing-payne-b9fbd2.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.

Two of these had changed title such that the URL was a little
misleading; the third was close enough but is updated for accuracy

Including redirects for all the former URLs despite the slight change in
scope for two of them
@yndajas yndajas merged commit 2b01bab into main Nov 10, 2025
6 checks passed
@yndajas yndajas deleted the fix-urls branch November 10, 2025 14:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants