Forums

google showing wp-login.php in results (2 posts)

  1. betasynth
    Member
    Posted 4 years ago #

    Hello,
    I am getting the wp-login.php page as a result when I google for my partner's blog. Not sure why this would happen?
    the blog in question is at http://www.sandrinesparis.com
    so when you google Sandrine's Paris
    http://www.google.co.uk/search?q=sandrine%27s+paris&hl=en&start=50&sa=N
    you get a bunch of other results, and among them
    http://www.sandrinesparis.com/wp-login.php
    rather than just plain http://www.sandrinesparis.com

    is there any way to prevent this?
    I know google can be funny when indexing pages, but maybe someone knows why this is happening?
    many thanks
    pedro

  2. whooami
    Member
    Posted 4 years ago #

    I looked through the google results you linked to, and do not see a link to that sites login page -- that said I didnt go through every result, so I'll take your word for it.

    why this is happening?

    Thats why I looked through the google search results. The why is very simple -- at some point, possibly while there was another theme running on that site Googlebot followed a link to wp-login.php.

    Thats the way spiders work -- they follow links.

    if you dont want that page OR other pages indexed, use a robots.txt file.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.