diff --git a/astro.config.mjs b/astro.config.mjs index 8e9e981..ad7459b 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -3,7 +3,7 @@ import node from '@astrojs/node'; import sitemap from '@astrojs/sitemap'; export default defineConfig({ - site: 'https://www.mnqcatering.com', + site: 'https://www.mnqeventos.es', output: 'server', adapter: node({ mode: 'standalone', diff --git a/public/llms.txt b/public/llms.txt index f9ac4ae..238b654 100644 --- a/public/llms.txt +++ b/public/llms.txt @@ -1,6 +1,6 @@ MNQ Catering y Evento -- Canonical domain: https://www.mnqcatering.com +- Canonical domain: https://www.mnqeventos.es - Business type: Premium catering service - Address: Calle Camino Vivero, 6, 29014, Málaga, España - Area served: Málaga (city) and Provincia de Málaga diff --git a/public/robots.txt b/public/robots.txt index 76141d1..fdca85c 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -1,4 +1,4 @@ User-agent: * Allow: / -Sitemap: https://www.mnqcatering.com/sitemap-index.xml +Sitemap: https://www.mnqeventos.es/sitemap-index.xml diff --git a/src/components/SiteFooter.astro b/src/components/SiteFooter.astro index 5e1c13d..bfd543e 100644 --- a/src/components/SiteFooter.astro +++ b/src/components/SiteFooter.astro @@ -19,7 +19,7 @@ const whatsappAriaLabel = 'Contactar con MNQ por WhatsApp';

© 2025 MNQ Catering y Evento. Excelencia culinaria para los momentos más importantes de su vida.

+34 678 17 15 13 - www.mnqcatering.com + www.mnqeventos.es

Calle Camino Vivero, 6, 29014, Málaga

diff --git a/src/layouts/MainLayout.astro b/src/layouts/MainLayout.astro index 823e431..126578b 100644 --- a/src/layouts/MainLayout.astro +++ b/src/layouts/MainLayout.astro @@ -30,18 +30,36 @@ const { structuredData, } = Astro.props; -const site = Astro.site ?? new URL('https://www.mnqcatering.com'); +const site = Astro.site ?? new URL('https://www.mnqeventos.es'); const canonicalUrl = new URL(canonical ?? Astro.url.pathname, site).toString(); const ogImageUrl = new URL(ogImage, site).toString(); const baseStructuredData = { '@context': 'https://schema.org', - '@type': 'CateringService', + // schema.org has no "CateringService" type. CateringBusiness (a + // LocalBusiness/FoodEstablishment subtype) is the correct type for a + // catering company with a physical address. + '@type': 'CateringBusiness', name: 'MNQ Catering y Evento', url: site.origin, description: 'Servicio de catering para bodas, eventos corporativos y reuniones familiares con enfoque premium.', - telephone: '+34 678 17 15 13', - serviceType: ['Bodas', 'Eventos corporativos', 'Reuniones familiares'], + telephone: '+34678171513', + // makesOffer/Service is the correct structure for what a business offers; + // serviceType is a property of Service, not of LocalBusiness. + makesOffer: [ + { + '@type': 'Offer', + itemOffered: { '@type': 'Service', name: 'Catering para bodas' }, + }, + { + '@type': 'Offer', + itemOffered: { '@type': 'Service', name: 'Catering para eventos corporativos' }, + }, + { + '@type': 'Offer', + itemOffered: { '@type': 'Service', name: 'Catering para reuniones familiares' }, + }, + ], // Verified business address (owner-confirmed). Geo coordinates not confirmed — left out. address: { '@type': 'PostalAddress', @@ -77,7 +95,7 @@ const structuredDataScripts = [ ? [structuredData] : []) as Array>), ]; -const umamiHost = Astro.site ? Astro.site.origin : 'https://www.mnqcatering.com'; +const umamiHost = Astro.site ? Astro.site.origin : 'https://www.mnqeventos.es'; const rawUmamiUrl = Astro.url ? import.meta.env.PUBLIC_UMAMI_URL : undefined; const umamiWebsiteId = import.meta.env.PUBLIC_UMAMI_WEBSITE_ID; const normalizedUmamiUrl = rawUmamiUrl diff --git a/src/middleware.ts b/src/middleware.ts index 3489c0d..7523941 100644 --- a/src/middleware.ts +++ b/src/middleware.ts @@ -1,13 +1,14 @@ import { defineMiddleware } from 'astro:middleware'; -const CANONICAL_HOST = 'www.mnqcatering.com'; +const CANONICAL_HOST = 'www.mnqeventos.es'; /** - * SEO: this site is undesirably mirrored at mnqeventos.es (same content, no - * redirect at the DNS/hosting level). This middleware enforces the canonical - * host at the application layer for any host that isn't exactly - * www.mnqcatering.com (covers mnqeventos.es, www.mnqeventos.es, and the bare - * mnqcatering.com apex). + * SEO: enforce the canonical host at the application layer. www.mnqeventos.es + * is the real, registered, live production domain. mnqcatering.com was an + * intended rename that was never actually registered (confirmed via WHOIS — + * no match) — do NOT set CANONICAL_HOST back to it unless that domain is + * actually purchased and its DNS points at this server, or this redirect + * will send every visitor to a host that doesn't resolve. * * NOTE: this must also be verified at the reverse-proxy/hosting layer — host * detection here depends on how the Host header (or X-Forwarded-Host, when diff --git a/src/pages/contacto.astro b/src/pages/contacto.astro index 17fc317..de61b69 100644 --- a/src/pages/contacto.astro +++ b/src/pages/contacto.astro @@ -105,7 +105,7 @@ const whatsappAriaLabel = 'Contactar con MNQ por WhatsApp'; Sitio web
- www.mnqcatering.com + www.mnqeventos.es
diff --git a/src/pages/privacidad.astro b/src/pages/privacidad.astro index c7e3283..26d44f6 100644 --- a/src/pages/privacidad.astro +++ b/src/pages/privacidad.astro @@ -21,7 +21,7 @@ import MainLayout from '../layouts/MainLayout.astro';

MNQ Catering y Evento
Teléfono: +34 678 17 15 13
- Sitio web: www.mnqcatering.com + Sitio web: www.mnqeventos.es

2. Datos que tratamos