1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    934
    Likes Received:
    82
    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,564
    Likes Received:
    5,034
    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,697
    Likes Received:
    1,185
    Can I buy a vowel?
     
  4. Hijinx

    Hijinx Junior Member

    Joined:
    Apr 13, 2009
    Messages:
    142
    Likes Received:
    87
    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,564
    Likes Received:
    5,034
    Gender:
    Male
    Location:
    UK
    Now that's funny man
    :abducted: