-
While doing a site audit I discovered that every post on my website now has a redirect that comes from my wp-login.php
I have hundreds of links that have this link – https://derbynow.uk/wp-login.php?redirect_to=
After the = sign it then redirects to the full link of the actual story.
Clicking on this redirected link just sends me to the login page.
Here is a screenshot of the error and how it shows.</a
When I click it just takes me to the login page like so.
The obvious challenge is that these are showing up in my SMERUSH reports and on Google and giving me hundreds of errors and warnings about site health.
I can’t seem to find out where this is coming from. I can’t find the redirects in the Rank Math redirects.
I have tried adding
Disallow: /wp-login.php
to the robots.txt file but that hasn’t worked. I am still getting hundreds of errors. And every published page or story now has a login page turning into a redirect for it.How do I fix this:
Removing all these links or the source of them.
Preventing this from happening again.
Ensuring that crawlers don’t penalise me for this
The ticket ‘Getting login pages redirecting to links on website and giving errors’ is closed to new replies.