846 product pages were telling Google not to index them
An affiliate catalogue with 846 products, migrated from a hosted store platform to a lightweight custom WordPress build, and then quietly hidden from Google by two lines of code.
Measured on a real project
846
product pages were telling Google not to index them, while the site looked perfect to every visitor.
The migration
The catalogue moved from a hosted store platform to a custom WordPress plugin, without WooCommerce, with every old URL preserved by a redirect.
The trap was currency: prices had to follow each merchant's own figures, never a conversion at the day's rate that would show customers a price they would not pay.
The invisible problem
After launch, every product page was sending a noindex signal. The cause was two lines in two different files that had stopped matching after a rename. Nothing on screen showed it.
The sitemap had a second problem: it returned a 404 error with the correct content inside, because the site had no blog posts. Google ignores a sitemap that answers 404.
The fix
Both were fixed and then confirmed with Google's own live test in Search Console, before relying on the result.
Tell us what is going wrong. We reply personally.
Get in touch