ASK How to make it cant open and not index?

Discussion in 'Blogging' started by bleach, Feb 16, 2010.

  1. bleach

    bleach Senior Member

    Joined:
    Oct 12, 2008
    Messages:
    956
    Likes Received:
    83
    Location:
    New York
    i want to make my wp plugin cant be access by anyone and google can index,so its safe for me
    Please Help me :confused::confused:
     
  2. shezboy

    shezboy Jr. VIP Jr. VIP Premium Member

    Joined:
    Sep 17, 2008
    Messages:
    3,910
    Likes Received:
    5,638
    Gender:
    Male
    Location:
    UK
    Ok, really confused by your question. Can you rephrase it?
     
  3. nufaman

    nufaman Elite Member

    Joined:
    May 29, 2009
    Messages:
    1,710
    Likes Received:
    1,194
    Can I buy a vowel?
     
  4. Hijinx

    Hijinx Junior Member

    Joined:
    Apr 13, 2009
    Messages:
    142
    Likes Received:
    88
    Location:
    New Jersey
    Try this...

    1) In your .htaccess file add this line
    Code:
    Options -Indexes
    2) Add a robots.txt file to the root of your domain....
    Code:
    User-agent: *
    Disallow: /wp-content/cache/
    Disallow: /wp-content/themes/
    Disallow: /wp-content/plugins/
    Disallow: /wp-admin/
    Disallow: /wp-includes/
    Disallow: /wp-login.php
    Disallow: /auction.php
    Sitemap: http://www.YOUR-DOMAIN-NAME-HERE.com/sitemap.xml.gz
    
    3) Use notepade and create a blank file, rename it index.php and drop it into directories that do not already have an index.php file... specifically in /themes and /plugins

    4) Rename some of your 'sensitive' plugins to something odd like p234234, do them 1 at a time and test to make sure they still work...

    Regards...



     
  5. shezboy

    shezboy Jr. VIP Jr. VIP Premium Member

    Joined:
    Sep 17, 2008
    Messages:
    3,910
    Likes Received:
    5,638
    Gender:
    Male
    Location:
    UK
    Now that's funny man
    :abducted: