Google is indexing all kinds of spammed internal search results from my wordpress site, and I can't figure out how to put a stop to it. I added Disallow: /search/ to my robots.txt file, but that didn't stop google. They still index them, but now they say "Indexed, though blocked by robots.txt"

What can I do to stop these from being indexed? And how do they even show up for google? Is there somewhere within wordpress that these are being stored that google is picking them up from?

Any help would be much appreciated!

Here's what I see in google search console:

enter image description here

  • This doesn't seem to be related to WordPress development. It might be better suited to the Webmasters stack.
    – Pat J
    Jul 6, 2021 at 20:20
  • 1
    Thanks. Wasn't sure the best place to post this. I added a post on the Webmasters stack too.
    – Jon Fergus
    Jul 6, 2021 at 20:35


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.