robots.txt DSGVO fix
This commit is contained in:
@@ -1,26 +1,61 @@
|
|||||||
|
# ── Default: all bots ────────────────────────────────────────────
|
||||||
User-agent: *
|
User-agent: *
|
||||||
Allow: /
|
Allow: /
|
||||||
|
Disallow: /impressum
|
||||||
|
Disallow: /datenschutz
|
||||||
|
Disallow: /api/
|
||||||
|
|
||||||
|
# ── AI crawlers: same restrictions ───────────────────────────────
|
||||||
|
# Personal data (Impressum, Datenschutz) must not be indexed — DSGVO.
|
||||||
|
# Business content and llms.txt are explicitly available.
|
||||||
|
|
||||||
# AI crawlers — explicitly welcome
|
|
||||||
User-agent: GPTBot
|
User-agent: GPTBot
|
||||||
Allow: /
|
Allow: /
|
||||||
|
Allow: /llms.txt
|
||||||
|
Disallow: /impressum
|
||||||
|
Disallow: /datenschutz
|
||||||
|
Disallow: /api/
|
||||||
|
|
||||||
User-agent: ClaudeBot
|
User-agent: ClaudeBot
|
||||||
Allow: /
|
Allow: /
|
||||||
|
Allow: /llms.txt
|
||||||
|
Disallow: /impressum
|
||||||
|
Disallow: /datenschutz
|
||||||
|
Disallow: /api/
|
||||||
|
|
||||||
User-agent: PerplexityBot
|
User-agent: PerplexityBot
|
||||||
Allow: /
|
Allow: /
|
||||||
|
Allow: /llms.txt
|
||||||
|
Disallow: /impressum
|
||||||
|
Disallow: /datenschutz
|
||||||
|
Disallow: /api/
|
||||||
|
|
||||||
User-agent: GoogleOther
|
User-agent: GoogleOther
|
||||||
Allow: /
|
Allow: /
|
||||||
|
Allow: /llms.txt
|
||||||
|
Disallow: /impressum
|
||||||
|
Disallow: /datenschutz
|
||||||
|
Disallow: /api/
|
||||||
|
|
||||||
User-agent: Applebot
|
User-agent: Applebot
|
||||||
Allow: /
|
Allow: /
|
||||||
|
Allow: /llms.txt
|
||||||
|
Disallow: /impressum
|
||||||
|
Disallow: /datenschutz
|
||||||
|
Disallow: /api/
|
||||||
|
|
||||||
User-agent: YouBot
|
User-agent: YouBot
|
||||||
Allow: /
|
Allow: /
|
||||||
|
Allow: /llms.txt
|
||||||
|
Disallow: /impressum
|
||||||
|
Disallow: /datenschutz
|
||||||
|
Disallow: /api/
|
||||||
|
|
||||||
User-agent: anthropic-ai
|
User-agent: anthropic-ai
|
||||||
Allow: /
|
Allow: /
|
||||||
|
Allow: /llms.txt
|
||||||
|
Disallow: /impressum
|
||||||
|
Disallow: /datenschutz
|
||||||
|
Disallow: /api/
|
||||||
|
|
||||||
Sitemap: https://www.superfice.de/sitemap.xml
|
Sitemap: https://www.superfice.de/sitemap.xml
|
||||||
|
|||||||
@@ -5,14 +5,4 @@
|
|||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1.0</priority>
|
<priority>1.0</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
|
||||||
<loc>https://www.superfice.de/impressum</loc>
|
|
||||||
<changefreq>yearly</changefreq>
|
|
||||||
<priority>0.3</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
|
||||||
<loc>https://www.superfice.de/datenschutz</loc>
|
|
||||||
<changefreq>yearly</changefreq>
|
|
||||||
<priority>0.3</priority>
|
|
||||||
</url>
|
|
||||||
</urlset>
|
</urlset>
|
||||||
|
|||||||
@@ -3,6 +3,14 @@ import { Link } from 'react-router-dom'
|
|||||||
import './LegalPage.css'
|
import './LegalPage.css'
|
||||||
|
|
||||||
export default function Datenschutz() {
|
export default function Datenschutz() {
|
||||||
|
useEffect(() => {
|
||||||
|
const meta = document.createElement('meta')
|
||||||
|
meta.name = 'robots'
|
||||||
|
meta.content = 'noindex, nofollow'
|
||||||
|
document.head.appendChild(meta)
|
||||||
|
return () => document.head.removeChild(meta)
|
||||||
|
}, [])
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const host = window.location.hostname
|
const host = window.location.hostname
|
||||||
if (host === 'localhost' || host === '127.0.0.1') return
|
if (host === 'localhost' || host === '127.0.0.1') return
|
||||||
|
|||||||
@@ -1,7 +1,16 @@
|
|||||||
|
import { useEffect } from 'react'
|
||||||
import { Link } from 'react-router-dom'
|
import { Link } from 'react-router-dom'
|
||||||
import './LegalPage.css'
|
import './LegalPage.css'
|
||||||
|
|
||||||
export default function Impressum() {
|
export default function Impressum() {
|
||||||
|
useEffect(() => {
|
||||||
|
const meta = document.createElement('meta')
|
||||||
|
meta.name = 'robots'
|
||||||
|
meta.content = 'noindex, nofollow'
|
||||||
|
document.head.appendChild(meta)
|
||||||
|
return () => document.head.removeChild(meta)
|
||||||
|
}, [])
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="legal-page section">
|
<div className="legal-page section">
|
||||||
<div className="container--narrow">
|
<div className="container--narrow">
|
||||||
|
|||||||
Reference in New Issue
Block a user