Skip to content

Add redirects from old /<location>-marquee-hire URLs#38

Merged
stefan-burke merged 1 commit into
mainfrom
claude/add-old-url-redirects-qKtwD
May 14, 2026
Merged

Add redirects from old /<location>-marquee-hire URLs#38
stefan-burke merged 1 commit into
mainfrom
claude/add-old-url-redirects-qKtwD

Conversation

@stefan-burke
Copy link
Copy Markdown
Member

Summary

The old WordPress site used URLs like /aldershot-marquee-hire/ for each location page. Those are now 404ing on the new site (location pages live at /Complete-Marquees/<location>/).

  • Added redirect_from: /<location>-marquee-hire to every page under locations/ (27 pages).
  • Moved the location-specific redirects that were previously catch-alls on capri-marquee-hire.html (/bournemouth-marquee-hire, /basingstoke-marquee-hire, /portsmouth-marquee-hire, /crawley-marquee-hire, /southampton-marquee-hire, /cobham, /oxshott, /leatherhead, /esher, and the malformed /marquee hire surrey) — now they go to the matching location page instead of the gallery page.
  • Left /petersfield-marquee-hire and the non-location redirects (/complete-guide-capri-marquees, /7-tips-decorating-marquee) on capri-marquee-hire.html since there's no specific destination for those.

Test plan

  • bun run build succeeds
  • Spot-checked _site/aldershot-marquee-hire/index.html — emits a redirect to /Complete-Marquees/aldershot/
  • Verified all 27 _site/<location>-marquee-hire/index.html redirect pages exist
  • Verified bare /cobham, /oxshott, /leatherhead, /esher redirects still build

https://claude.ai/code/session_01K8BxcwJg1vEE1NXzgDfBxz


Generated by Claude Code

The old WordPress site used URLs like /aldershot-marquee-hire/ for each
location page. Add redirect_from entries to each location page so those
URLs no longer 404. Also move location-specific redirects off
capri-marquee-hire.html to the appropriate location pages.
@stefan-burke stefan-burke merged commit 53ea895 into main May 14, 2026
3 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.

2 participants