1
0
Fork 0
mirror of https://github.com/chobbledotcom/my-alarm-security.git synced 2026-07-10 16:46:30 +01:00
MyAlarm Security - Burglar Alarms & CCTV in New Eltham / Sidcup and surrounding areas https://www.myalarmsecurity.co.uk
  • JavaScript 56.2%
  • SCSS 27.6%
  • HTML 14%
  • Nix 2.2%
Find a file
stefan burke 01f581f85e
Rename product slugs to match names and add redirects (#146)
* Rename product slugs to match names and add redirects

Rename the CCTV and package/system product pages so their slugs
accurately match their titles and no longer embed prices. The CCTV
and supreme/ultimate pairs were also swapped relative to their content:

- cctv-package-1-999            -> cctv-package-2   (title: CCTV Package 2)
- cctv-package-2-1199-...       -> cctv-package-1   (title: CCTV Package 1)
- supreme-package-...-1749      -> ultimate-package (title: Ultimate Package)
- ultimate-package-...-1549     -> supreme-package  (title: Supreme Package)

Each renamed page gains a redirect_from entry pointing to its previous
URL so existing links and search rankings continue to resolve.

The date-prefixed products (burglar-alarm-battery, alarm-system-service-
and-maintenance) already resolve to clean, price-free URLs, and
basic-system/pet-package/standard-system were already correctly named
with redirects, so they are unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015PuKxMjn85gGvhbpa3xXq1

* Update review product references to renamed slugs

The site's linkList filter looks up products by fileSlug via getBySlug,
which throws (it does not follow redirects) when a referenced slug no
longer exists. Renaming the product files broke the product references
in several review front matters, failing the build.

Point each affected review at the renamed product file, preserving the
exact page each review was associated with:

- products/cctv-package-2-1199-24hr-colour-cctv.md -> products/cctv-package-1.md
- products/supreme-package-...-1749.md            -> products/ultimate-package.md

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015PuKxMjn85gGvhbpa3xXq1

* Use keyword-rich product slugs for SEO

Expand the renamed CCTV and combined-package slugs so they retain the
descriptive keywords the original price-based URLs carried, while still
matching each product's name and omitting the price:

- cctv-package-1  -> cctv-package-1-24hr-colour-cctv-built-in-microphone
- cctv-package-2  -> cctv-package-2-24hr-colour-cctv-2-way-audio
- ultimate-package -> ultimate-package-cctv-plus-burglar-alarm-system
- supreme-package  -> supreme-package-cctv-and-intruder-burglar-alarm-system

The redirect_from entries still point at the original live URLs, and the
review product references are updated to the new filenames.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015PuKxMjn85gGvhbpa3xXq1

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-07-03 15:34:15 +01:00
.claude Add og:image stuff 2025-10-24 19:28:14 +01:00
.github/workflows Migrate from Node.js to Bun runtime (#126) 2026-03-10 16:21:55 +00:00
.image-cache Initial commit 2025-10-03 11:34:32 +00:00
_data Update package prices site-wide (#145) 2026-07-02 15:30:35 +01:00
_includes Add insurance page and surface cover details site-wide (#144) 2026-06-21 13:21:49 +01:00
_layouts SEO tidyups 2026-06-02 19:33:43 +01:00
assets Move snow to the background 2025-12-03 16:42:02 +00:00
categories Update package prices site-wide (#145) 2026-07-02 15:30:35 +01:00
css Add view-transition: auto 2026-07-01 17:16:05 +01:00
images Create images/Texecom 2.jpeg (via Pages CMS) 2026-06-16 13:46:58 +00:00
locations Update package prices site-wide (#145) 2026-07-02 15:30:35 +01:00
news Update package prices site-wide (#145) 2026-07-02 15:30:35 +01:00
pages Update package prices site-wide (#145) 2026-07-02 15:30:35 +01:00
products Rename product slugs to match names and add redirects (#146) 2026-07-03 15:34:15 +01:00
reviews Rename product slugs to match names and add redirects (#146) 2026-07-03 15:34:15 +01:00
scripts Fix category page reviews rendering as item blocks instead of review blocks (#137) 2026-05-11 19:41:54 +00:00
snippets Bold 2025-11-17 00:33:05 +00:00
.eleventyignore Update chobble-template 2026-01-27 18:52:42 +00:00
.envrc Rename file 2025-12-03 16:32:45 +00:00
.gitignore Update chobble-template 2026-01-27 18:52:42 +00:00
.gitmodules Update chobble-template 2026-01-27 18:52:42 +00:00
.jscpd.json Update chobble-template 2026-01-27 18:52:42 +00:00
.pages.yml Add FAQ schema 2026-06-02 20:54:43 +01:00
biome.json Update chobble-template 2026-01-27 18:52:42 +00:00
bun.lock Update chobble-template 2026-01-27 18:52:42 +00:00
bunfig.toml Update chobble-template 2026-01-27 18:52:42 +00:00
CLEANUP.md SEO tidyups 2026-06-02 19:33:43 +01:00
EEAT_CREDENTIALS.md Update package prices site-wide (#145) 2026-07-02 15:30:35 +01:00
flake.nix Fix bun run build (#135) 2026-04-24 12:29:52 +01:00
package.json Update chobble-template 2026-01-27 18:52:42 +00:00
PLAN.md SEO tidyups 2026-06-02 19:33:43 +01:00
README.md Update README 2025-10-25 02:15:56 +01:00
VOICE.md SEO tidyups 2026-06-02 19:33:43 +01:00

MyAlarm Security

Family-run home and business security company based in Sidcup, serving Bexley, Bromley, Orpington, Dartford, Greenwich and surrounding areas. We specialise in burglar alarms, CCTV systems, and access control with over 27 years of industry experience.