Merge pull request 'Anpassungen für Scanner von LegalCockpit' (#27) from develop into main
Reviewed-on: https://git.feigel.it/SFBadSteben/schachfreunde-badsteben/pulls/27
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
User-agent: *
|
||||
Allow: /
|
||||
|
||||
# Spezielle Erlaubnis für DSGVO/Legal Scanner
|
||||
User-agent: LegalCockpitBot
|
||||
Allow: /
|
||||
|
||||
User-agent: CookieBot
|
||||
Allow: /
|
||||
|
||||
User-agent: DataProtectionBot
|
||||
Allow: /
|
||||
|
||||
User-agent: GDPRBot
|
||||
Allow: /
|
||||
|
||||
# Sitemap (falls vorhanden)
|
||||
# Sitemap: https://www.schachfreunde-badsteben.de/sitemap.xml
|
||||
|
||||
# Wichtige Seiten explizit erlauben
|
||||
Allow: /datenschutz
|
||||
Allow: /impressum
|
||||
Allow: /kontakt
|
||||
+20
-1
@@ -6,5 +6,24 @@ return [
|
||||
'vue' => [
|
||||
'compiler' => false
|
||||
]
|
||||
],
|
||||
],
|
||||
|
||||
// Bessere Scanner-Kompatibilität
|
||||
'cache' => [
|
||||
'pages' => [
|
||||
'active' => true
|
||||
]
|
||||
],
|
||||
|
||||
// Headers für bessere Scanner-Kompatibilität
|
||||
'headers' => [
|
||||
'X-Frame-Options' => 'SAMEORIGIN',
|
||||
'X-XSS-Protection' => '1; mode=block'
|
||||
],
|
||||
|
||||
// Robots-freundliche Einstellungen
|
||||
'smartypants' => true,
|
||||
'markdown' => [
|
||||
'extra' => true
|
||||
]
|
||||
];
|
||||
|
||||
@@ -10,6 +10,16 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
|
||||
<!-- Scanner-freundliche Meta-Tags -->
|
||||
<meta name="robots" content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1">
|
||||
<meta name="googlebot" content="index, follow">
|
||||
<meta name="bingbot" content="index, follow">
|
||||
|
||||
<!-- DSGVO/Datenschutz relevante Meta-Tags -->
|
||||
<meta name="author" content="<?= $site->title()->esc() ?>">
|
||||
<meta name="language" content="de">
|
||||
<meta name="content-language" content="de">
|
||||
|
||||
<title><?= $site->title()->esc() ?> | <?= $page->title()->esc() ?></title>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user