Files
MNQ-Catering-y-Evento/astro.config.mjs
T
manuyasm87 a6692b7540 fix(seo): correct canonical domain to www.mnqeventos.es
mnqcatering.com was never actually registered (WHOIS: no match, no DNS
records) -- it was an intended rename that never happened. The real,
live, registered production domain is www.mnqeventos.es. Every
canonical/OG/schema/sitemap/robots reference and the host-redirect
middleware pointed at the wrong, non-resolving domain; left as-is, the
middleware would have 301'd every real visitor away to a dead host.

Also fixes two schema.org validity issues found during audit:
- '@type': 'CateringService' is not a real schema.org type -- corrected
  to 'CateringBusiness' (LocalBusiness/FoodEstablishment subtype)
- 'serviceType' is a Service property, not valid on LocalBusiness --
  restructured as makesOffer -> Offer -> itemOffered Service entities
- telephone normalized to E.164 in the schema block
2026-09-15 10:07:24 +02:00

17 lines
391 B
JavaScript

import { defineConfig } from 'astro/config';
import node from '@astrojs/node';
import sitemap from '@astrojs/sitemap';
export default defineConfig({
site: 'https://www.mnqeventos.es',
output: 'server',
adapter: node({
mode: 'standalone',
}),
integrations: [
sitemap({
filter: (page) => !page.endsWith('/cookies/') && !page.endsWith('/privacidad/'),
}),
],
});