SEO: canonical / statt /info, /info → 301-Redirect, Sitemap bereinigt

This commit is contained in:
rene 2026-05-06 10:35:41 +02:00
parent 4cd178a86a
commit b675fbcd32
2 changed files with 3 additions and 3 deletions

View file

@ -377,7 +377,6 @@ async def sitemap():
today = date.today().isoformat()
urls = [
("https://banyaro.app/", "weekly", "1.0"),
("https://banyaro.app/info", "monthly", "0.9"),
("https://banyaro.app/presse", "monthly", "0.8"),
("https://banyaro.app/wiki/rassen", "weekly", "0.8"),
("https://banyaro.app/knigge", "monthly", "0.8"),
@ -432,7 +431,8 @@ async def sitemap():
@app.get("/info")
async def info_page():
return FileResponse(f"{STATIC_DIR}/landing.html", headers={"Cache-Control": "max-age=3600"})
from fastapi.responses import RedirectResponse
return RedirectResponse(url="/", status_code=301)
# ------------------------------------------------------------------

View file

@ -7,7 +7,7 @@
<meta name="description" content="Ban Yaro: Die kostenlose All-in-One Hunde-App für DACH. Tagebuch, Giftköder-Alarm, Training mit KI, Forum, Wurfbörse, Stammbaum, Inzucht-Check — DSGVO-konform, offline-fähig, ohne App Store.">
<meta name="keywords" content="Hunde App, Hunde Community, Wurfbörse, Züchter, Welpen kaufen, Stammbaum Hund, Inzuchtkoeffizient, Hundezucht, Impfpass Hund, Giftköder Alarm, Gassi Community, Hundetraining App, Hunde Forum, Hunde KI, Hundefilm Datenbank, Welpen Marktplatz">
<meta name="robots" content="index, follow">
<link rel="canonical" href="https://banyaro.app/info">
<link rel="canonical" href="https://banyaro.app/">
<!-- Open Graph -->
<meta property="og:type" content="website">