• Resolved presson2022

    (@presson2022)


    So ever since I started using this plugin I now have hundreds of search spam trying to be indexed by Google. They aren’t indexing the pages but somehow there are porn sites and dating sites being picked up by Google. How can I stop this search spam?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support J Burns

    (@subiewrx)

    Hi @presson2022,

    It sounds like you are referring to search spam through your site search.

    If this is not the case please let me know.

    Otherwise, you can add the following lines to your robots.txt in?All in One SEO?>?Tools?>?Robots.txt Editor?–
    https://a.supportally.com/i/znFufs

    Here’s the lines to add, one at a time –

    User-agent: * Disallow: /search/
    User-agent: * Disallow: /?s=

    Then over the next several days check to see if your span is reduced.

    Please let me know if you have any other questions.

    Thanks!

    Thread Starter presson2022

    (@presson2022)

    Thanks. I will add that. Question. Since it’s WP, should I have this:

    Allow: /wp-admin/admin-ajax.php

    Plugin Support J Burns

    (@subiewrx)

    Hi @presson2022,

    Yes, you should have – Allow: /wp-admin/admin-ajax.php in the Robots.txt.

    Have a good day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Search Spam’ is closed to new replies.