feat: add SEO optimizations and server configuration files

This commit is contained in:
2025-08-25 15:15:25 +02:00
parent a6696b8a2b
commit 4d21a5e8f8
6 changed files with 87 additions and 2 deletions

View File

@@ -13,6 +13,9 @@ sshpass -p 'BiLqHib8s5Ag2FmL' sftp -oBatchMode=no -b - $USER@$SERVER <<EOF
cd $REMOTE_DIR
put -r $LOCAL_DIR/index.html
put -r $LOCAL_DIR/impressum.html
put -r $LOCAL_DIR/robots.txt
put -r $LOCAL_DIR/sitemap.xml
put -r $LOCAL_DIR/.htaccess
mkdir img
cd img
put -r $LOCAL_DIR/img/*

32
src/.htaccess Normal file
View File

@@ -0,0 +1,32 @@
# Enable rewrite engine
RewriteEngine On
# Force HTTPS
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# Redirect www to apex
RewriteCond %{HTTP_HOST} ^www\.summitwave\.eu$ [NC]
RewriteRule ^ https://summitwave.eu%{REQUEST_URI} [L,R=301]
# Canonicalize index.html to root
RewriteRule ^index\.html$ https://summitwave.eu/ [L,R=301]
# Cache static assets (adjust as needed)
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/webp "access plus 6 months"
ExpiresByType image/png "access plus 6 months"
ExpiresByType image/jpeg "access plus 6 months"
ExpiresByType image/svg+xml "access plus 6 months"
ExpiresByType image/x-icon "access plus 12 months"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
</IfModule>
# Security headers (best-effort; host must support)
<IfModule mod_headers.c>
Header set X-Content-Type-Options "nosniff"
Header set Referrer-Policy "strict-origin-when-cross-origin"
Header set X-Frame-Options "SAMEORIGIN"
</IfModule>

View File

@@ -26,6 +26,11 @@
<meta name="robots" content="noindex" />
<link rel="icon" type="image/x-icon" href="img/favicon.ico" />
<link rel="apple-touch-icon" href="img/favicon.ico" />
<link rel="canonical" href="https://summitwave.eu/impressum.html" />
<meta property="og:type" content="website"/>
<meta property="og:title" content="Impressum | SummitWave"/>
<meta property="og:url" content="https://summitwave.eu/impressum.html"/>
<meta property="og:image" content="img/logo.png"/>
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
</head>
<body class="bg-white text-gray-800 leading-relaxed antialiased">

View File

@@ -24,16 +24,44 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>SummitWave | Auracast made easy</title>
<meta name="description" content="SummitWave Auracast transmitters deliver crystal-clear, low-latency multichannel Bluetooth audio to everyone."/>
<meta name="robots" content="index,follow" />
<meta name="theme-color" content="#2563EB" />
<link rel="icon" type="image/x-icon" href="img/favicon.ico" />
<link rel="apple-touch-icon" href="img/favicon.ico" />
<link rel="canonical" href="https://summitwave.eu/" />
<link rel="alternate" hreflang="en" href="https://summitwave.eu/" />
<meta property="og:type" content="website"/>
<meta property="og:title" content="SummitWave | Auracast made easy"/>
<meta property="og:description" content="Broadcast brilliant multichannel audio anywhere with SummitWave Auracast transmitters."/>
<meta property="og:image" content="img/logo.png"/>
<meta property="og:url" content="https://summitwave.eu/"/>
<meta property="og:site_name" content="SummitWave"/>
<meta property="og:image" content="https://summitwave.eu/img/logo.png"/>
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="SummitWave | Auracast made easy" />
<meta name="twitter:description" content="Broadcast brilliant multichannel audio anywhere with SummitWave Auracast transmitters." />
<meta name="twitter:image" content="https://summitwave.eu/img/logo.png" />
<!-- Tailwind via CDN for rapid styling -->
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
</head>
<body class="bg-white text-gray-800 leading-relaxed antialiased">
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebSite",
"name": "SummitWave",
"url": "https://summitwave.eu/",
"inLanguage": "en",
"publisher": {
"@type": "Organization",
"name": "SummitWave",
"url": "https://summitwave.eu/",
"logo": {
"@type": "ImageObject",
"url": "https://summitwave.eu/img/logo.png"
}
}
}
</script>
<!-- =========== Header & Nav =========== -->
<header class="py-6 px-4 md:px-12 flex items-center justify-between">
<img src="img/logo.png" alt="SummitWave logo" class="h-24 md:h-28" />
@@ -94,7 +122,7 @@
<p class="max-w-2xl mx-auto text-lg text-gray-700 text-center mb-6">Auracast is a Bluetooth LE Audio broadcast technology that lets venues transmit onetomany, lowlatency audio streams that anyone can join with their own device.</p>
<ul class="max-w-4xl mx-auto grid gap-3 md:gap-4 md:grid-cols-2 text-lg">
<li class="leading-relaxed text-left"><span class="font-semibold text-gray-900">Widespread adoption</span> <span class="text-gray-700">supported across modern smartphones, earbuds, and hearing devices via Bluetooth LE Audio/Auracast.</span></li>
<li class="leading-relaxed text-left"><span class="font-semibold text-gray-900">Accessibility</span> <span class="text-gray-700">inclusive listening for people with hearing devices- compatible with modern hearing aids and cochlear implants that support Bluetooth LE Audio/Auracast.</span></li>
<li class="leading-relaxed text-left"><span class="font-semibold text-gray-900">Accessibility</span> <span class="text-gray-700">inclusive listening for people with hearing devices; compatible with modern hearing aids and cochlear implants that support Bluetooth LE Audio/Auracast.</span></li>
<li class="leading-relaxed text-left"><span class="font-semibold text-gray-900">Device Independence</span> <span class="text-gray-700">listeners use their own phones, earbuds, or hearing aids.</span></li>
<li class="leading-relaxed text-left"><span class="font-semibold text-gray-900">Low Latency</span> <span class="text-gray-700">lipsynced speech for presentations, video and live performances.</span></li>
</ul>

4
src/robots.txt Normal file
View File

@@ -0,0 +1,4 @@
User-agent: *
Allow: /
Sitemap: https://summitwave.eu/sitemap.xml

13
src/sitemap.xml Normal file
View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://summitwave.eu/</loc>
<changefreq>weekly</changefreq>
<priority>0.9</priority>
</url>
<url>
<loc>https://summitwave.eu/impressum.html</loc>
<changefreq>yearly</changefreq>
<priority>0.2</priority>
</url>
</urlset>