Urgent.News

What's breaking now, across thousands of outlets.

Tech

I prerendered my React SPA for SEO. I forgot the links.

My site had been live for a month. Google had indexed all 352 pages. Titles matched search queries exactly. Structured data was in place. hreflang covered four locales. Then I ran a site audit and got 24 errors, all the same: Page has no outgoing links The homepage. Every locale homepage. Every tool page. And — the one that actually hurt — the hub page that is supposed to link to all 78 tarot…

The site had been live for a month when Google indexed all 352 pages. Titles matched search queries, structured data was present, and the site supported four locales. However, a site audit revealed 24 errors, primarily due to missing links on the homepage, each locale's homepage, tool pages, and the hub page that was supposed to link to 78 tarot cards.

The missing links were not detected by Google crawlers, which only saw the HTML content without navigating the site. The author had implemented a prerender step for crawlers, but hadn't ensured crawlers could navigate the site properly. The hub page, which distributed link equity to 312 card pages, lacked links, causing the link graph to be incomplete.

After adding links to the prerendered HTML, including a header and footer navigation on every template and the hub page, the audit showed 0 errors and a health score of 100. The author expected to see improvements in ranking, but the full effect would not be known for a month as Google had to recrawl 312 pages and rebuild the link graph. The site in question is tarot-magic.com, a tarot reference in four languages.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

More from Wednesday 16 September →