robots.txt öffnen: Allow alle, noindex stattdessen im HTML
Abruf- und Vorschaudienste brechen bei einem Disallow: / vor dem HTTP-Request ab (PERMISSION_DENIED). robots.txt erlaubt jetzt alles; die private App bleibt über lang="noindex, nofollow" (Meta-Tag und X-Robots-Tag) aus den Suchmaschinen.
This commit is contained in:
parent
87ccd36d0a
commit
c8ec53ebdd
2 changed files with 6 additions and 5 deletions
|
|
@ -25,6 +25,7 @@ $navActive = static function (string $area) use ($path): string {
|
|||
<meta name="theme-color" content="#196abc">
|
||||
<meta name="color-scheme" content="light">
|
||||
<meta name="csrf-token" content="<?= e(csrf_token()) ?>">
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
<meta name="sw-url" content="<?= e(url('/sw.js')) ?>">
|
||||
<meta name="mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue