How to no-index a wp-admin redirect to wp-login
-
https://www.DOMAIN.com/wp-login.php?redirect_to=http%3A%2F%2Fwww.DOMAIN.com%2Fwp-admin%2F&reauth=1
A client routinely manually types https://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?
- The topic ‘How to no-index a wp-admin redirect to wp-login’ is closed to new replies.