SEO: pricing-rich service schema, AggregateRating, tighter meta
- Service pages now include AggregateOffer in JSON-LD (priceCurrency NZD, lowPrice/highPrice/offerCount derived from each service's pricing.plans). Unlocks price-rich SERP results. - Homepage LocalBusiness schema now includes AggregateRating and per-testimonial Review entries (5 stars, n reviews). Eligible for star ratings in SERPs. - Puppy Visits meta description rewritten — was 241 chars opening with "Puppy Visits Introducing Puppy Visits..." Now a tight 144 chars with Auckland keyword. - Removed the dead /about-us static-pages entry; the 301 redirect in [slug]/+page.server.ts already routes it to /about, so the duplicate metadata was unreachable. Pruned matching dead branches in [slug]/+page.svelte and RouteSkeleton.svelte for clarity. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
function getVariant(path: string) {
|
||||
if (path === '/') return 'home';
|
||||
if (serviceRoutes.has(path)) return 'service';
|
||||
if (path === '/about' || path === '/about-us') return 'about';
|
||||
if (path === '/about') return 'about';
|
||||
if (path === '/our-pricing') return 'pricing';
|
||||
if (path === '/contact-us') return 'contact';
|
||||
if (legalRoutes.has(path)) return 'legal';
|
||||
|
||||
Reference in New Issue
Block a user