Support » Plugin: Google XML Sitemap Generator » Disallow /wp-admin/admin-ajax.php

  • Resolved islp

    (@islp)



    Hello,

    I see my robots.txt is:

    User-agent: *
    Disallow: /wp-admin/
    Allow: /wp-admin/admin-ajax.php

    HOW do I disallow the second one too? Not sure, but it looks like Google is indexing even pages served by plugins that are not linked in any front-end source.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author XmlSitemapGenerator

    (@xmlsitemapgenerator)

    Our plugin only allows you to add new rules to your robots.txt file
    You cannot remove anything already written by wordpress of other plugins.

    The entry page you make reference to looks like it is a wordpress feature and not something you can address through our plugin.

    I believe the reason this file is allowed is because some themes rely on this page and if it is excluded google sometimes had trouble with those themes.

    Then, what I don’t understand is why I found in the sitemap something related to content I have in the admin area: there’s a plugin generating a paginated view and I found many references to this plugin in the sitemap. Why?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disallow /wp-admin/admin-ajax.php’ is closed to new replies.