WordPress.org

Ready to get started?Download WordPress

Forums

AJAX Hits Counter + Popular Posts Widget
Hit count admin pages being indexed by google (5 posts)

  1. skaterkee
    Member
    Posted 7 months ago #

    I have a strange problem whereby a blank page simply displaying the hit count of a post, is being indexed for each post in google.

    An example:

    wp-admin/admin-ajax.php?action=ajax-hits-counter-increment&post_id=270&t=

    Any idea why this would be happening? How would google find such obscure links?

    I just blocked admin-ajax.php in robots, do think this will sort it?

    http://wordpress.org/plugins/ajax-hits-counter/

  2. kutsy
    Member
    Plugin Author

    Posted 7 months ago #

    Hello.
    Can you show how you block admin-ajax.php in robots.txt?

  3. skaterkee
    Member
    Posted 7 months ago #

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

  4. kutsy
    Member
    Plugin Author

    Posted 7 months ago #

    This must work. Its strange.
    For test try to write something like this:
    Disallow: /wp-admin/admin-ajax*
    or this:
    Disallow: /wp-admin/*

  5. skaterkee
    Member
    Posted 7 months ago #

    Cool I'll add those to robots.

    I guess we won't know for a while whether it works, but I'll make a note to return here and update the situation.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.