Hide admin page?

Discussion in 'Security' started by freddie112, Mar 18, 2010.

  1. #1
    Hello DPers,

    I noticed one of my site's admin page is being indexed in Google and I wanted to know what's the best way to fix this now and for the future for security reasons. Most of my sites admin page is usually in the format domain.com/admin

    A few questions:

    1) How do I make this admin page not get indexed by search engines?
    2) What is the general security practice that websites use to protect their admin pages? Is it domain.com/admin with a log in and password to access it or something else?

    Thanks for any help
     
    freddie112, Mar 18, 2010 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #2
    Hello there,

    You can use the robots.txt file to tell robots not to crawl certain folders. I always suggest protecting your administration folders with another method than just your admin log in and user name. I would recommend using .htaccess authentication on the admin folder as well. If you have are using cPanel, there is a link in your control panel to password protect a folder, follow that guide to set it up, or, use a search engine to find the info you need to add.
     
    RHS-Chris, Mar 18, 2010 IP
  3. hackrepair

    hackrepair Member

    Messages:
    47
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    40
    #3
    Hi,
    Right on target RHS-Chris. I was going to post the same notes.

    Best Wishes,
    Jim
     
    hackrepair, Mar 18, 2010 IP