⚠️ Malware / Trojaner / VirenAvast: Oktoberfest(18.09.2026 um 00:36 Uhr)
🪟 Windows ServerSchnellladesäulen: Wenn der Ladestecker zickt - Golem.de(17.09.2026 um 23:29 Uhr)
🕵️ HackingPOL-MK: Betrug beim Online-Kauf - Presseportal(17.09.2026 um 17:57 Uhr)
🔧 ProgrammierungAgentic CLI customizations now in the usage metrics API(17.09.2026 um 23:08 Uhr)
🔧 ProgrammierungCopilot impact dashboard now shows feature engagement(17.09.2026 um 23:47 Uhr)
⚠️ Malware / Trojaner / VirenAvast: Oktoberfest(18.09.2026 um 00:36 Uhr)
🪟 Windows ServerSchnellladesäulen: Wenn der Ladestecker zickt - Golem.de(17.09.2026 um 23:29 Uhr)
🕵️ HackingPOL-MK: Betrug beim Online-Kauf - Presseportal(17.09.2026 um 17:57 Uhr)
🔧 ProgrammierungAgentic CLI customizations now in the usage metrics API(17.09.2026 um 23:08 Uhr)
🔧 ProgrammierungCopilot impact dashboard now shows feature engagement(17.09.2026 um 23:47 Uhr)
🔧 Programmierung 🕛 vor 1 Monat 2 Min Lesezeit
0

I spent 2 days debugging why Google wouldn't index my new SaaS — the bug was in my own canonical tags

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

Launched a new site two days ago and Google Search Console showed

zero indexing. Spent longer than I'd like to admit assuming it was

just "new domain, be patient" — until I actually checked the live HTML.






The bug



My server correctly redirects uxtion.aiwww.uxtion.ai (301/308).

Standard setup. But every canonical tag on the page — and the JSON-LD

schema, and the sitemap — still pointed back to the non-www version.



So Google was getting two contradicting signals on the same page:




  • "The real URL is www" (from the redirect)

  • "No wait, the real URL is non-www" (from the canonical tag)



Classic case of shipping the redirect and forgetting the metadata

has to agree with it.






The fix



Pulled every hardcoded domain reference into a single shared constant

tied to the actual production env var, instead of a string typed out

in six different files. Once that shipped and the sitemap re-read

correctly, the homepage went from "not indexed" to "URL is on Google"

within a few days.






Why I'm writing this



I'm building UXtion — a tool that audits Lovable

and Cursor-built sites and hands back paste-ready fixes instead of

another report to interpret. Ironically, this bug was in my own

marketing site, not a customer's. Turns out "diagnose the problem vs.

actually fix it" applies to your own infrastructure too.



If you're running a Next.js App Router site with a www/apex split,

worth checking alternates.canonical and any JSON-LD @id/url

fields aren't hardcoded to the wrong domain — tsc and your test

suite won't catch this, only a live view-source will.

Vollständiger Original-Artikel
Den kompletten Beitrag mit allen Details direkt auf dev.to lesen.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
1 Quelle
Oktoberfest
1 Quelle
Schnellladesäulen: Wenn der Ladestecker zickt - Golem.de
1 Quelle
KB5124008 VPN Fehler: Always-On-VPN bricht nach dem September-Update ab
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten I spent 2 days debugging why Google wouldn't index my new SaaS — the bug was in my own canonical tags

Thematisch verwandte Begriffe: spent, days, debugging, Google · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...