Lost Password Page Showing Up In Google Searches

Discussion in 'WordPress' started by highbids, Sep 10, 2008.

  1. #1
    I just did a manual install of WordPress 2.6.2 & when I do a search
    for my domain name in google the Lost Password page is showing
    up with a box to put my email address in & have it sent to me.

    How do I get the page to not to show up in google searches.
     
    highbids, Sep 10, 2008 IP
  2. System0

    System0 Well-Known Member

    Messages:
    168
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    128
    #2
    add this to your htaccess file

    User-agent: *
    Disallow: /wp-login.php?action=lostpassword

    Infact, you might be as well blocking all of wp-login.php
     
    System0, Sep 10, 2008 IP
  3. highbids

    highbids Well-Known Member

    Messages:
    214
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #3
    How do I block the wp-login.php, do I do it with the htaccess file
    if so can you give me the code.
     
    highbids, Sep 10, 2008 IP