HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Help with robots.txt

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#83821 (In Topic #17381)
Avatar

Fan in training

Hi,

I have set up the following robots.txt file:

Code

Useragent: Skynet
Useragent: Cyberdyne
Disallow: /galleria

But the robots keep coming :(.
Back to the top
 
Posted
Item has a rating of 5 (Liked by Chris Graham)  
Rating:
#83825
Avatar

Community saint

Is /galleria a directory or file?

I believe directories/folders have a trailing slash and files do not.

Steve
Back to the top
 
Posted
Item has a rating of 5 (Liked by Chris Graham)  
Rating:
#83827
Avatar

Community saint

Try:

Code

User-agent: Skynet
User-agent: Cyberdyne
Disallow: /galleria

As for galleria, if its a folder then add a trailing / for clarity (I don't think its technically required).

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Item has a rating of 5 (Liked by sholzy)  
Rating:
#83828
Avatar

Oh dear, you guys aren't Terminator 2 fans I see. You missed my little joke ;).

You're right though temp1024, I did get the code wrong!


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#83829
Avatar

Community saint

Cut me some slack Chris, its 1:00 AM here O_o .

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#83830
Avatar

Well you found an error successfully  :lol:


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#83832
Avatar

Community saint

As long as I'm finding them at this hour and not creating them.

In hindsight, I should have been suspicious, as nobody in their right mind would want to be that John Connor.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Item has a rating of 5 (Liked by Chris GrahamLiked by Robbie Goacher)  
Rating:
#83841
Avatar

Community saint

Chris Graham said

Oh dear, you guys aren't Terminator 2 fans I see. You missed my little joke ;).

You're right though temp1024, I did get the code wrong!

It has been almost 20 yrs since I've seen that movie. I was a little suspicious when you posted in the other thread because it seemed to be too much of a coincidence and was thinking it might be you or Robbie. But when you started this thread I thought John Conner was a legitimate new user who just happened to join just minutes before that first post.

I pulled the same stunt on my forum about a month ago using HAL from 2001 Space Odyssey. Except I commandeered an old spammer's account and changed the user name to give my prank more legitimacy (who says spammers aren't useful?). :thumbs:

Steve
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: