Menu

Post image 1
Post image 2
1 / 2
0

PHP blog SEO: JSON-LD, ToC and crawlable pagination

DEV Community·Odilon HUGONNOT·22 days ago
#XJuqoDBP
#jsonld#seo#php#schemaorg#fullscreen#article
Reading 0:00
15s threshold

Google Search Console showed zero indexed articles after three weeks of publishing. The articles existed. The URLs returned 200. The sitemap had been submitted. The problem was elsewhere: the blog listing loaded posts.json via fetch() , then rendered all the HTML in JavaScript. As far as Googlebot was concerned, the page was an empty shell with a spinner. What follows is the set of fixes applied to the shared PHP template — no framework, no build step, plain Apache. Each point has a concrete reason, not just "SEO best practices say so". The JS-first problem Googlebot can execute JavaScript. Google has been saying this for years, and it's true. But "can" doesn't mean "systematically" or "immediately". JS crawling goes through a secondary rendering queue — plain HTML pages are indexed first. The result: a fully JS-rendered blog can take weeks to get indexed, and even then, only if Googlebot decides the page is worth the rendering cost.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More