Enhance SEO and performance for MC Cars website
- Added meta tags for SEO optimization across multiple pages including descriptions, robots directives, and Open Graph tags. - Implemented JSON-LD structured data for better search visibility and rich snippets. - Configured nginx for improved performance with gzip compression, caching strategies, and security headers. - Created robots.txt and sitemap.xml for better search engine indexing and crawl management. - Developed comprehensive SEO documentation including a guide and quick reference for ongoing optimization efforts.
This commit is contained in:
@@ -9,6 +9,9 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap" rel="stylesheet" />
|
||||
<link rel="stylesheet" href="styles.css" />
|
||||
<script>document.write('<scr'+'ipt src="config.js?v='+Date.now()+'"><\/scr'+'ipt>')</script>
|
||||
|
||||
<meta name="robots" content="noindex, nofollow" />
|
||||
<meta name="description" content="MC Cars Admin Panel - Not for public access" />
|
||||
</head>
|
||||
<body>
|
||||
<!-- Login -->
|
||||
|
||||
@@ -11,6 +11,41 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap" rel="stylesheet" />
|
||||
<link rel="stylesheet" href="styles.css" />
|
||||
<script>document.write('<scr'+'ipt src="config.js?v='+Date.now()+'"><\/scr'+'ipt>')</script>
|
||||
|
||||
<meta name="description" content="Allgemeine Geschäftsbedingungen (AGB) von MC Cars - Sportwagenvermietung in Steiermark" />
|
||||
<meta name="robots" content="index, follow" />
|
||||
<link rel="canonical" href="https://demo.lago.dev/agb.html" />
|
||||
<link rel="alternate" hreflang="de" href="https://demo.lago.dev/agb.html" />
|
||||
|
||||
<!-- Open Graph Tags -->
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:title" content="AGB – MC Cars" />
|
||||
<meta property="og:description" content="Allgemeine Geschäftsbedingungen von MC Cars" />
|
||||
<meta property="og:url" content="https://demo.lago.dev/agb.html" />
|
||||
<meta property="og:site_name" content="MC Cars" />
|
||||
<meta property="og:locale" content="de_AT" />
|
||||
|
||||
<!-- JSON-LD Breadcrumb -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "BreadcrumbList",
|
||||
"itemListElement": [
|
||||
{
|
||||
"@type": "ListItem",
|
||||
"position": 1,
|
||||
"name": "Startseite",
|
||||
"item": "https://demo.lago.dev/"
|
||||
},
|
||||
{
|
||||
"@type": "ListItem",
|
||||
"position": 2,
|
||||
"name": "AGB",
|
||||
"item": "https://demo.lago.dev/agb.html"
|
||||
}
|
||||
]
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<header class="site-header">
|
||||
|
||||
@@ -8,6 +8,41 @@
|
||||
<link rel="apple-touch-icon" href="/images/mc-cars-logo.png" />
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@500;700&display=swap" rel="stylesheet" />
|
||||
<link rel="stylesheet" href="styles.css" />
|
||||
|
||||
<meta name="description" content="Datenschutzrichtlinie von MC Cars - Wie wir Ihre persönlichen Daten schützen" />
|
||||
<meta name="robots" content="index, follow, nosnippet" />
|
||||
<link rel="canonical" href="https://demo.lago.dev/datenschutz.html" />
|
||||
<link rel="alternate" hreflang="de" href="https://demo.lago.dev/datenschutz.html" />
|
||||
|
||||
<!-- Open Graph Tags -->
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:title" content="Datenschutz – MC Cars" />
|
||||
<meta property="og:description" content="Datenschutzrichtlinie von MC Cars" />
|
||||
<meta property="og:url" content="https://demo.lago.dev/datenschutz.html" />
|
||||
<meta property="og:site_name" content="MC Cars" />
|
||||
<meta property="og:locale" content="de_AT" />
|
||||
|
||||
<!-- JSON-LD Breadcrumb -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "BreadcrumbList",
|
||||
"itemListElement": [
|
||||
{
|
||||
"@type": "ListItem",
|
||||
"position": 1,
|
||||
"name": "Startseite",
|
||||
"item": "https://demo.lago.dev/"
|
||||
},
|
||||
{
|
||||
"@type": "ListItem",
|
||||
"position": 2,
|
||||
"name": "Datenschutz",
|
||||
"item": "https://demo.lago.dev/datenschutz.html"
|
||||
}
|
||||
]
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<header class="site-header">
|
||||
|
||||
@@ -8,6 +8,41 @@
|
||||
<link rel="apple-touch-icon" href="/images/mc-cars-logo.png" />
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@500;700&display=swap" rel="stylesheet" />
|
||||
<link rel="stylesheet" href="styles.css" />
|
||||
|
||||
<meta name="description" content="Impressum - Kontaktdaten und Informationen von MC Cars GmbH" />
|
||||
<meta name="robots" content="index, follow, nosnippet" />
|
||||
<link rel="canonical" href="https://demo.lago.dev/impressum.html" />
|
||||
<link rel="alternate" hreflang="de" href="https://demo.lago.dev/impressum.html" />
|
||||
|
||||
<!-- Open Graph Tags -->
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:title" content="Impressum – MC Cars" />
|
||||
<meta property="og:description" content="Impressum von MC Cars GmbH" />
|
||||
<meta property="og:url" content="https://demo.lago.dev/impressum.html" />
|
||||
<meta property="og:site_name" content="MC Cars" />
|
||||
<meta property="og:locale" content="de_AT" />
|
||||
|
||||
<!-- JSON-LD Breadcrumb -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "BreadcrumbList",
|
||||
"itemListElement": [
|
||||
{
|
||||
"@type": "ListItem",
|
||||
"position": 1,
|
||||
"name": "Startseite",
|
||||
"item": "https://demo.lago.dev/"
|
||||
},
|
||||
{
|
||||
"@type": "ListItem",
|
||||
"position": 2,
|
||||
"name": "Impressum",
|
||||
"item": "https://demo.lago.dev/impressum.html"
|
||||
}
|
||||
]
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<header class="site-header">
|
||||
|
||||
@@ -11,7 +11,93 @@
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap" rel="stylesheet" />
|
||||
<link rel="stylesheet" href="styles.css" />
|
||||
<!-- SEO & Social Meta Tags -->
|
||||
<meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1" />
|
||||
<meta name="keywords" content="Sportwagenvermietung Steiermark, Luxusauto mieten, Sportwagenverleih, Ferraris mieten Graz, Porsche mieten Österreich" />
|
||||
<meta name="theme-color" content="#1a1a1a" />
|
||||
<meta name="language" content="German" />
|
||||
<link rel="canonical" href="https://demo.lago.dev/" />
|
||||
<link rel="alternate" hreflang="en" href="https://demo.lago.dev/en/" />
|
||||
<link rel="alternate" hreflang="de" href="https://demo.lago.dev/" />
|
||||
<link rel="alternate" hreflang="x-default" href="https://demo.lago.dev/" />
|
||||
|
||||
<!-- Open Graph Tags -->
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:title" content="MC Cars – Premium Sportwagen & Luxusvermietung" />
|
||||
<meta property="og:description" content="Fahren Sie Premium-Sportwagen und Luxusklasse-Fahrzeuge in der Steiermark. Faire Kaution, transparent, sofort startklar." />
|
||||
<meta property="og:url" content="https://demo.lago.dev/" />
|
||||
<meta property="og:site_name" content="MC Cars" />
|
||||
<meta property="og:locale" content="de_AT" />
|
||||
<meta property="og:image" content="https://demo.lago.dev/images/mc-cars-og-image.png" />
|
||||
<meta property="og:image:width" content="1200" />
|
||||
<meta property="og:image:height" content="630" />
|
||||
|
||||
<!-- Twitter Card Tags -->
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:title" content="MC Cars – Premium Sportwagen & Luxusvermietung" />
|
||||
<meta name="twitter:description" content="Fahren Sie Premium-Sportwagen in der Steiermark. Faire Kaution, transparent, sofort startklar." />
|
||||
<meta name="twitter:image" content="https://demo.lago.dev/images/mc-cars-og-image.png" />
|
||||
|
||||
<script>document.write('<scr'+'ipt src="config.js?v='+Date.now()+'"><\/scr'+'ipt>')</script>
|
||||
|
||||
<!-- Structured Data (JSON-LD) -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "LocalBusiness",
|
||||
"@id": "https://demo.lago.dev/#organization",
|
||||
"name": "MC Cars GmbH",
|
||||
"alternateName": "MC Cars",
|
||||
"description": "Premium Sportwagen- und Luxusvermietung in der Steiermark",
|
||||
"url": "https://demo.lago.dev",
|
||||
"logo": "https://demo.lago.dev/images/mc-cars-logo.png",
|
||||
"image": "https://demo.lago.dev/images/mc-cars-og-image.png",
|
||||
"areaServed": {
|
||||
"@type": "Place",
|
||||
"name": "Steiermark, Österreich",
|
||||
"geo": {
|
||||
"@type": "GeoShape",
|
||||
"box": "47.2 13.0 48.5 16.0"
|
||||
}
|
||||
},
|
||||
"priceRange": "€€€",
|
||||
"serviceType": "Sportwagenvermietung",
|
||||
"sameAs": [
|
||||
"https://www.facebook.com/mccars",
|
||||
"https://www.instagram.com/mccars"
|
||||
]
|
||||
}
|
||||
</script>
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Organization",
|
||||
"name": "MC Cars GmbH",
|
||||
"url": "https://demo.lago.dev",
|
||||
"logo": "https://demo.lago.dev/images/mc-cars-logo.png",
|
||||
"description": "Premium Sportwagen- und Luxusvermietung in Steiermark, Österreich",
|
||||
"foundingDate": "2024",
|
||||
"contactPoint": {
|
||||
"@type": "ContactPoint",
|
||||
"contactType": "Customer Support",
|
||||
"availableLanguage": ["de", "en"]
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "BreadcrumbList",
|
||||
"itemListElement": [
|
||||
{
|
||||
"@type": "ListItem",
|
||||
"position": 1,
|
||||
"name": "Startseite",
|
||||
"item": "https://demo.lago.dev/"
|
||||
}
|
||||
]
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<header class="site-header">
|
||||
|
||||
@@ -11,6 +11,41 @@
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap" rel="stylesheet" />
|
||||
<link rel="stylesheet" href="styles.css" />
|
||||
<script>document.write('<scr'+'ipt src="config.js?v='+Date.now()+'"><\/scr'+'ipt>')</script>
|
||||
|
||||
<meta name="description" content="Mietbedingungen von MC Cars - Sportwagenvermietung in Steiermark" />
|
||||
<meta name="robots" content="index, follow" />
|
||||
<link rel="canonical" href="https://demo.lago.dev/mietbedingungen.html" />
|
||||
<link rel="alternate" hreflang="de" href="https://demo.lago.dev/mietbedingungen.html" />
|
||||
|
||||
<!-- Open Graph Tags -->
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:title" content="Mietbedingungen – MC Cars" />
|
||||
<meta property="og:description" content="Mietbedingungen von MC Cars Sportwagenvermietung" />
|
||||
<meta property="og:url" content="https://demo.lago.dev/mietbedingungen.html" />
|
||||
<meta property="og:site_name" content="MC Cars" />
|
||||
<meta property="og:locale" content="de_AT" />
|
||||
|
||||
<!-- JSON-LD Breadcrumb -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "BreadcrumbList",
|
||||
"itemListElement": [
|
||||
{
|
||||
"@type": "ListItem",
|
||||
"position": 1,
|
||||
"name": "Startseite",
|
||||
"item": "https://demo.lago.dev/"
|
||||
},
|
||||
{
|
||||
"@type": "ListItem",
|
||||
"position": 2,
|
||||
"name": "Mietbedingungen",
|
||||
"item": "https://demo.lago.dev/mietbedingungen.html"
|
||||
}
|
||||
]
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<header class="site-header">
|
||||
|
||||
@@ -22,6 +22,45 @@ server {
|
||||
}
|
||||
location ~* \.(?:css|js)$ {
|
||||
add_header Cache-Control "no-cache";
|
||||
|
||||
# SEO files - cache for 1 week
|
||||
location = /robots.txt {
|
||||
add_header Cache-Control "public, max-age=604800";
|
||||
try_files $uri =404;
|
||||
}
|
||||
location = /sitemap.xml {
|
||||
add_header Cache-Control "public, max-age=604800";
|
||||
add_header Content-Type "application/xml";
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
# Enable gzip compression for text-based content
|
||||
gzip on;
|
||||
gzip_types text/plain text/css text/xml text/javascript application/xml application/rss+xml application/javascript application/json;
|
||||
gzip_min_length 1000;
|
||||
gzip_comp_level 5;
|
||||
gzip_vary on;
|
||||
gzip_disable "msie6";
|
||||
|
||||
# Security headers
|
||||
add_header X-Frame-Options "SAMEORIGIN" always;
|
||||
add_header X-Content-Type-Options "nosniff" always;
|
||||
add_header X-XSS-Protection "1; mode=block" always;
|
||||
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
|
||||
|
||||
# Content Security Policy - permissive for dynamic content
|
||||
add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' https://esm.sh https://fonts.googleapis.com https://cdn.jsdelivr.net; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' data: https:; connect-src 'self' https:; frame-ancestors 'self';" always;
|
||||
|
||||
# Permissions policy (formerly Feature Policy)
|
||||
add_header Permissions-Policy "accelerometer=(), camera=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), usb=()" always;
|
||||
|
||||
# Performance: Enable HTTP Keep-Alive
|
||||
keepalive_timeout 65;
|
||||
keepalive_requests 100;
|
||||
|
||||
# Error pages
|
||||
error_page 404 /index.html;
|
||||
error_page 500 502 503 504 /index.html;
|
||||
try_files $uri =404;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
# MC Cars - Robots Configuration
|
||||
# For demo.lago.dev domain
|
||||
|
||||
User-agent: *
|
||||
Allow: /
|
||||
Allow: /index.html
|
||||
Allow: /agb.html
|
||||
Allow: /datenschutz.html
|
||||
Allow: /impressum.html
|
||||
Allow: /mietbedingungen.html
|
||||
Allow: /styles.css
|
||||
Allow: /images/
|
||||
|
||||
# Disallow admin panel from search engines
|
||||
Disallow: /admin.html
|
||||
Disallow: /admin/
|
||||
Disallow: /config.js
|
||||
|
||||
# Prevent crawling of query strings (pagination, filters, etc.)
|
||||
Disallow: /*?*
|
||||
|
||||
# Sitemap location
|
||||
Sitemap: https://demo.lago.dev/sitemap.xml
|
||||
|
||||
# Crawl delay for responsible crawling (optional)
|
||||
Crawl-delay: 1
|
||||
|
||||
# Request rate: 1 request per second
|
||||
Request-rate: 1/1s
|
||||
|
||||
# Specific rules for Google
|
||||
User-agent: Googlebot
|
||||
Allow: /
|
||||
Disallow: /admin.html
|
||||
Crawl-delay: 0
|
||||
|
||||
# Specific rules for Bing
|
||||
User-agent: Bingbot
|
||||
Allow: /
|
||||
Disallow: /admin.html
|
||||
Crawl-delay: 1
|
||||
|
||||
# Block bad bots and scrapers
|
||||
User-agent: AhrefsBot
|
||||
User-agent: SemrushBot
|
||||
User-agent: DotBot
|
||||
User-agent: MJ12bot
|
||||
User-agent: AiHitBot
|
||||
Disallow: /
|
||||
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||
xmlns:xhtml="http://www.w3.org/1999/xhtml"
|
||||
xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0"
|
||||
xmlns:news="http://www.google.com/schemas/sitemap-news/0.9"
|
||||
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
|
||||
xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
|
||||
|
||||
<!-- Main homepage - highest priority -->
|
||||
<url>
|
||||
<loc>https://demo.lago.dev/</loc>
|
||||
<lastmod>2026-05-09</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1.0</priority>
|
||||
<xhtml:link rel="alternate" hreflang="de" href="https://demo.lago.dev/"/>
|
||||
<xhtml:link rel="alternate" hreflang="en" href="https://demo.lago.dev/en/"/>
|
||||
<xhtml:link rel="alternate" hreflang="x-default" href="https://demo.lago.dev/"/>
|
||||
</url>
|
||||
|
||||
<!-- Legal pages -->
|
||||
<url>
|
||||
<loc>https://demo.lago.dev/agb.html</loc>
|
||||
<lastmod>2026-05-09</lastmod>
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://demo.lago.dev/datenschutz.html</loc>
|
||||
<lastmod>2026-05-09</lastmod>
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://demo.lago.dev/impressum.html</loc>
|
||||
<lastmod>2026-05-09</lastmod>
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://demo.lago.dev/mietbedingungen.html</loc>
|
||||
<lastmod>2026-05-09</lastmod>
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
|
||||
</urlset>
|
||||
Reference in New Issue
Block a user