Enable HTTP/2 & HTTP/3

This commit is contained in:
chriz committed 2026-10-20 12:02:30 +02:00
1 parent 014422e0b6
commit ac8468ca76
10 files changed
+258 -25

No files matched your search

+158 -4
View File
@@ -13,9 +13,143 @@ $titles = [
'kontakt-formular' => 'Kontaktanfrage | Dialysezentrum Berlin-Mahlsdorf',
'impressum' => 'Impressum | Dialysezentrum Berlin-Mahlsdorf',
'datenschutz' => 'Datenschutzerklärung | Dialysezentrum Berlin-Mahlsdorf',
'404' => 'Seite nicht gefunden (404) | Dialysezentrum Berlin-Mahlsdorf',
];
$pageTitle = isset($titles[$action]) ? $titles[$action] : 'Dialysezentrum Berlin-Mahlsdorf';
$descriptions = [
'main' => 'Dialysezentrum Berlin-Mahlsdorf & Marzahn: Individuelle Hämodialyse, Online-HDF, nephrologische Ambulanz und ganzjährige Feriendialysen in Berlin.',
'leistungen' => 'Leistungen im Dialysezentrum Berlin-Mahlsdorf: Nephrologische Ambulanz, Hämodialyse, Online-HDF mit Nikkiso Haemo-Master, Fresenius BCM & Sonographie.',
'praxis' => 'Praxisausstattung, Dialyse-Schichten & Ambulanz-Sprechzeiten: 16 Plätze in Berlin-Mahlsdorf, 18 Plätze in Berlin-Marzahn und moderne Nikkiso-Dialysetechnik.',
'team' => 'Lernen Sie unser Ärzteteam kennen: Dr. med. Bianca Bischoff, Dr. med. Juliane Hoffzimmer, Dr. med. Claudia Körner und 23 engagierte Pflege- & Servicekräfte.',
'kontakt' => 'Kontakt & Anfahrt zum Dialysezentrum Berlin-Mahlsdorf (Thorner Str. 1, 12623 Berlin) und zur Satellitendialyse Marzahn (Blumberger Damm 130, 12685 Berlin).',
'kontakt-formular' => 'Senden Sie uns Ihre Anfrage bequem online über das Kontaktformular des Dialysezentrums Berlin-Mahlsdorf für Termine, Feriendialysen oder allgemeine Fragen.',
'impressum' => 'Impressum und Pflichtangaben der Berufsausübungsgemeinschaft Dr. med. Bianca Bischoff & Dr. med. Juliane Hoffzimmer – Dialysezentrum Berlin-Mahlsdorf.',
'datenschutz' => 'Datenschutzerklärung und Informationen zum Schutz Ihrer personenbezogenen Daten gemäß DSGVO im Dialysezentrum Berlin-Mahlsdorf.',
'404' => 'Die angeforderte Seite wurde leider nicht gefunden. Zurück zur Startseite des Dialysezentrums Berlin-Mahlsdorf.',
];
$currentAction = isset($action) ? $action : 'main';
$pageTitle = isset($titles[$currentAction]) ? $titles[$currentAction] : 'Dialysezentrum Berlin-Mahlsdorf';
$pageDescription = isset($descriptions[$currentAction]) ? $descriptions[$currentAction] : $descriptions['main'];
$baseUrl = 'https://www.dialyse-berlin.net';
if ($currentAction === '404') {
$robotsMeta = 'noindex, nofollow';
$canonicalUrl = null;
} elseif (in_array($currentAction, ['impressum', 'datenschutz', 'kontakt-formular'], true)) {
$robotsMeta = 'noindex, follow';
$canonicalUrl = $baseUrl . '/' . $currentAction . '.html';
} elseif ($currentAction === 'main') {
$robotsMeta = 'index, follow';
$canonicalUrl = $baseUrl . '/';
} else {
$robotsMeta = 'index, follow';
$canonicalUrl = $baseUrl . '/' . $currentAction . '.html';
}
$schemaGraph = [
[
'@type' => 'MedicalClinic',
'@id' => $baseUrl . '/#organization',
'name' => 'Dialysezentrum Berlin-Mahlsdorf',
'alternateName' => 'Zentrum für Nephrologie und Dialyse – Dr. med. Bianca Bischoff & Dr. med. Juliane Hoffzimmer',
'url' => $baseUrl . '/',
'logo' => $baseUrl . '/img/logo_dialysezentrum.png',
'image' => $baseUrl . '/img/gallery/praxis1.jpg',
'description' => $descriptions['main'],
'medicalSpecialty' => 'https://schema.org/Nephrology',
'telephone' => '+49-30-5662484',
'email' => 'kontakt@dialyse-berlin.net',
'address' => [
'@type' => 'PostalAddress',
'streetAddress' => 'Thorner Straße 1',
'postalCode' => '12623',
'addressLocality' => 'Berlin',
'addressRegion' => 'Berlin',
'addressCountry' => 'DE',
],
'geo' => [
'@type' => 'GeoCoordinates',
'latitude' => 52.5078291,
'longitude' => 13.6092903,
],
'hasMap' => 'https://www.google.com/maps/place/Dialysezentrum+Berlin-Mahlsdorf/@52.5078291,13.6092903,17z/data=!3m1!4b1!4m6!3m5!1s0x47a84991f9c57f7f:0xad4486f559442067!8m2!3d52.5078291!4d13.6092903!16s%2Fg%2F1tdqghgn',
'openingHoursSpecification' => [
[
'@type' => 'OpeningHoursSpecification',
'dayOfWeek' => ['Monday', 'Wednesday', 'Friday'],
'opens' => '07:00',
'closes' => '20:00',
],
[
'@type' => 'OpeningHoursSpecification',
'dayOfWeek' => ['Tuesday', 'Thursday', 'Saturday'],
'opens' => '07:00',
'closes' => '13:00',
],
],
'department' => [
'@type' => 'MedicalClinic',
'name' => 'Dialysezentrum Berlin-Mahlsdorf – Satellitendialyse Marzahn',
'medicalSpecialty' => 'https://schema.org/Nephrology',
'telephone' => '+49-30-5662484',
'email' => 'kontakt@dialyse-berlin.net',
'address' => [
'@type' => 'PostalAddress',
'streetAddress' => 'Blumberger Damm 130 (Eingang: Pritzhagener Weg 21)',
'postalCode' => '12685',
'addressLocality' => 'Berlin',
'addressRegion' => 'Berlin',
'addressCountry' => 'DE',
],
'geo' => [
'@type' => 'GeoCoordinates',
'latitude' => 52.5428128,
'longitude' => 13.5716785,
],
'hasMap' => 'https://www.google.com/maps/place/Dialysezentrum+Berlin-Mahlsdorf+LC/@52.5428128,13.5716785,17z/data=!3m1!4b1!4m6!3m5!1s0x47a84991f9d5111b:0xda0b4785760166c5!8m2!3d52.5428128!4d13.5716785!16s%2Fg%2F1ts_5mmj',
],
'employee' => [
[
'@type' => 'Physician',
'name' => 'Dr. med. Bianca Bischoff',
'jobTitle' => 'Fachärztin für Innere Medizin und Nephrologie',
'medicalSpecialty' => 'https://schema.org/Nephrology',
],
[
'@type' => 'Physician',
'name' => 'Dr. med. Juliane Hoffzimmer',
'jobTitle' => 'Fachärztin für Innere Medizin und Nephrologie',
'medicalSpecialty' => 'https://schema.org/Nephrology',
],
[
'@type' => 'Physician',
'name' => 'Dr. med. Claudia Körner',
'jobTitle' => 'Fachärztin für Innere Medizin',
],
],
],
];
if ($canonicalUrl && $currentAction !== 'main') {
$schemaGraph[] = [
'@type' => 'BreadcrumbList',
'itemListElement' => [
[
'@type' => 'ListItem',
'position' => 1,
'name' => 'Startseite',
'item' => $baseUrl . '/',
],
[
'@type' => 'ListItem',
'position' => 2,
'name' => trim(explode('|', $pageTitle)[0]),
'item' => $canonicalUrl,
],
],
];
}
?>
<!DOCTYPE html>
<html lang="de">
@@ -24,9 +158,28 @@ $currentAction = isset($action) ? $action : 'main';
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?=htmlspecialchars($pageTitle)?></title>
<meta name="language" content="de">
<meta name="description" content="Dialysezentrum Berlin-Mahlsdorf: Ganzjährige Feriendialysen und individuelle Betreuung im modernen Zentrum für Nephrologie und Dialyse.">
<meta name="robots" content="index, follow">
<meta name="description" content="<?=htmlspecialchars($pageDescription)?>">
<meta name="robots" content="<?=htmlspecialchars($robotsMeta)?>">
<?php if($canonicalUrl): ?>
<link rel="canonical" href="<?=htmlspecialchars($canonicalUrl)?>">
<?php endif; ?>
<!-- Open Graph / Link Preview Meta Tags -->
<meta property="og:type" content="website">
<meta property="og:locale" content="de_DE">
<meta property="og:site_name" content="Dialysezentrum Berlin-Mahlsdorf">
<meta property="og:title" content="<?=htmlspecialchars($pageTitle)?>">
<meta property="og:description" content="<?=htmlspecialchars($pageDescription)?>">
<?php if($canonicalUrl): ?>
<meta property="og:url" content="<?=htmlspecialchars($canonicalUrl)?>">
<?php endif; ?>
<meta property="og:image" content="<?=$baseUrl?>/img/gallery/praxis1.jpg">
<meta property="og:image:width" content="1024">
<meta property="og:image:height" content="768">
<meta property="og:image:alt" content="Dialysezentrum Berlin-Mahlsdorf – Praxisgebäude in der Thorner Straße 1">
<!-- Schema.org Structured Data (JSON-LD) -->
<script type="application/ld+json"><?=json_encode(['@context' => 'https://schema.org', '@graph' => $schemaGraph], JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE)?></script>
<link rel="icon" href="/img/favicon.ico?v=<?=filemtime(__DIR__ . '/../img/favicon.ico')?>" type="image/x-icon">
<link rel="icon" href="/img/favicon.png?v=<?=filemtime(__DIR__ . '/../img/favicon.png')?>" type="image/png">
@@ -81,6 +234,7 @@ $currentAction = isset($action) ? $action : 'main';
<a href="/" class="site-logo" title="Dialysezentrum Berlin-Mahlsdorf &ndash; Startseite">
<img src="/img/logo_dialysezentrum.png?v=<?=filemtime(__DIR__ . '/../img/logo_dialysezentrum.png')?>"
alt="Dialysezentrum Berlin-Mahlsdorf &ndash; Zentrum für Nephrologie &amp; Dialyse"
width="915" height="199"
class="site-logo-img">
</a>