SunQuest
           Search Engine Optimization
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignSearch Engine Optimization

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 24th, 2005, 05:57 PM
Dion Dion is offline
Disgruntled Netscape User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Whangarei, New Zealand
Posts: 81 Dion User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 27 m 24 sec
Reputation Power: 8
robots.txt - what if I don't want the WORLD knowing of directory?

Hi guys,

Not so much an optimization question, but to do with robots.txt.

I've written a backend administration area for a site I've developed - let's say the directory is /admin.BLAH

The area is protected using .htaccess & .htpasswd files.

Do I need to include /admin.BLAH as disallow in my robots.txt to keep bots out, all will the ht... block them anyway so there is no need?

The reason I ask is, I don't want to list the area in my robots.txt as that hands the location over to would be hackers. If I MUST list it in robots.txt, is there any wildcard that might work as well?

I read somewhere that wildcards do work (i.e. /bob will block /bob.html & /bob/blah.html). If I added simply /ad - would that disallow /admin.BLAH as well?

Thanks for any help you can provide!

Reply With Quote
  #2  
Old May 27th, 2005, 12:44 PM
cpphosting cpphosting is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 147 cpphosting User rank is Corporal (100 - 500 Reputation Level)cpphosting User rank is Corporal (100 - 500 Reputation Level)cpphosting User rank is Corporal (100 - 500 Reputation Level)cpphosting User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 22 h 26 m 40 sec
Number of bans: 1
Reputation Power: 5
I would have to say no.

Since the directory is .htaccess protected the robot, even if it found the admin.blah directory cannot see anything inside of it.

The web server will only return information(web content) IF it recieves a valid login. Otherwise the it returns a 403 Error. Which most robots would just ignore anyway


Hope that helps

Reply With Quote
  #3  
Old May 27th, 2005, 03:56 PM
Dion Dion is offline
Disgruntled Netscape User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Whangarei, New Zealand
Posts: 81 Dion User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 27 m 24 sec
Reputation Power: 8
Cheers dude, much appreciated. Thought that would be the case.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignSearch Engine Optimization > robots.txt - what if I don't want the WORLD knowing of directory?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway