Web Hosting Forum | Lunarpages
News: July 14, 2008 - New Contest! - Submit Your WordPress Theme Designs, Win BIG!
September 1, 2008 - Submit Your Web Site for the Sept 2008 Site of the Month!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 07, 2008, 10:02:19 PM


Login with username, password and session length


Pages: 1 [2] 3 4 5   Go Down
  Print  
Author Topic: Using Robots.txt To Protect Files/Folders  (Read 15153 times)
Lupine1647
Berserker Poster
*****
Offline Offline

Posts: 10868


« Reply #15 on: December 20, 2004, 07:41:58 PM »

Works for me:

Result: Page will not be crawled - failed robots.txt check
Logged
Lupine1647
Berserker Poster
*****
Offline Offline

Posts: 10868


« Reply #16 on: December 20, 2004, 07:43:02 PM »

Ok, i found out that it doesn't work if you put www.domain.com
but if you put domain.com/
It works.
Logged
leighsww
* The Tough Love Cuddly One *
Berserker Poster
*****
Offline Offline

Posts: 13870


WWW
« Reply #17 on: December 20, 2004, 07:49:22 PM »

Quote from: Lupus1647
Ok, i found out that it doesn't work if you put www.domain.com
but if you put domain.com/
It works.

Hmmmm, I was using the http://domain.com (NOT the "www") from the beginning and it just doesn't work for me.

I'm setting this up for my Dad's site and it's strictly going to be used for client communication and file transferring, so I don't want to have him crawled.

I'm gonna have to investigate this further why it isn't working for his site.

Thanks for testing it out on your end for me there, Lupus!  Thumbs Up  Luff Ya
Logged
Lupine1647
Berserker Poster
*****
Offline Offline

Posts: 10868


« Reply #18 on: December 20, 2004, 07:53:27 PM »

Put the slash at the end Smile

He probabley doesn't have the PHp script set up to accept URLs without the slash.
Logged
leighsww
* The Tough Love Cuddly One *
Berserker Poster
*****
Offline Offline

Posts: 13870


WWW
« Reply #19 on: December 20, 2004, 07:59:25 PM »

Quote from: Lupus1647
Put the slash at the end Smile

He probabley doesn't have the PHp script set up to accept URLs without the slash.

That did it!!!  Thumbs Up  Applause

For you!! -->  Luff Ya  Luff Ya  Luff Ya  Luff Ya

At least now that you've figured that out, anybody trying nibbler's link will not go nuts like I did  Surprised
Logged
Nibbler
21st century digital boy
Master Jedi
*****
Offline Offline

Posts: 1178



WWW
« Reply #20 on: December 20, 2004, 09:25:39 PM »

Hmm, that script seems to have been overwritten by an older version, it should be ok now. The code expects to be given a file to check so just make one up if you want to check a path - it doesn't need to actually exist.
Logged

Missing since 1983

JamesG
Lager Ship
Berserker Poster
*****
Offline Offline

Posts: 12026


If In Doubt, Cluster!


WWW
« Reply #21 on: December 21, 2004, 01:04:55 AM »

and here's me thinking it was my fault Surprised
Logged

Nibbler
21st century digital boy
Master Jedi
*****
Offline Offline

Posts: 1178



WWW
« Reply #22 on: December 21, 2004, 11:28:28 AM »

It's ok, I'll blame you anyway  Very Happy
Logged

Missing since 1983

Lupine1647
Berserker Poster
*****
Offline Offline

Posts: 10868


« Reply #23 on: December 21, 2004, 11:30:01 AM »

Everyone blames Gravey and a couple other people.
Logged
JamesG
Lager Ship
Berserker Poster
*****
Offline Offline

Posts: 12026


If In Doubt, Cluster!


WWW
« Reply #24 on: December 21, 2004, 12:54:49 PM »

i cant blame Nibbler, i may need his help in the future Wink
Logged

TranzNDance
Princess of Naboo
Berserker Poster
*****
Offline Offline

Posts: 11809



WWW
« Reply #25 on: December 21, 2004, 02:41:25 PM »

Yup, we must bow to Nibbler. Very Happy
Logged

Grr..!! Luff Ya Grr..!! Luff Ya Grr..!! Luff Ya
JamesG
Lager Ship
Berserker Poster
*****
Offline Offline

Posts: 12026


If In Doubt, Cluster!


WWW
« Reply #26 on: December 22, 2004, 02:39:41 AM »

better keep him away from Leigh incase she scares him away Confused
Logged

varianet
Spaceship Captain
*****
Offline Offline

Posts: 104



WWW
« Reply #27 on: January 30, 2005, 08:00:29 AM »

Can password protected dirs be accessed by bots  Question
Logged

I need a Java break.
Nibbler
21st century digital boy
Master Jedi
*****
Offline Offline

Posts: 1178



WWW
« Reply #28 on: January 30, 2005, 08:06:33 AM »

Maybe, but only if they know the password and support the authentication method.
Logged

Missing since 1983

FST2005
Spaceship Captain
*****
Offline Offline

Posts: 112


« Reply #29 on: March 05, 2005, 01:23:41 PM »

Hello,

Hope this does not come off like a wrong question, but just want to clear things up.

I have read two things with the robot.txt. One of which is creating a file as mentioned in this posting. The other is to only add the following:

<META name="ROBOTS" content="INDEX,FOLLOW">

It has said that you only need one of them, not both. So which is correct, is having the above pasted code all I need to do the same effect as having a robot.txt file, or not?

Thanks for the time,
Logged

Brian K
Front Street Trading
Your Clothing Bargain House
Email: fstrading@frontstreettrading(NOSPAM).com
http://www.frontstreettrading.com
Pages: 1 [2] 3 4 5   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM