WordPress.org

Ready to get started?Download WordPress

Forums

How to no-index a wp-admin redirect to wp-login (1 post)

  1. AMEEKER
    Member
    Posted 2 years ago #

    http://www.DOMAIN.com/wp-login.php?redirect_to=http%3A%2F%2Fwww.DOMAIN.com%2Fwp-admin%2F&reauth=1

    A client routinely manually types http://www.domain.com/wp-admin to access his dashboard, which redirects to the link above.

    Our robots.txt file is

    User-agent: *
    Disallow: /wp-admin/
    Disallow: /wp-includes/

    but I still see that link above in our Analytics' pageviews. Can I add /wp-login.php to the robots.txt in order to keep it from being followed?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.