Jump to content

Different navigational links for friendly crawlers/spiders than for visitors


Recommended Posts

Assuming I've already blocked undesirable bots, I now want to identify 'friendly' crawler or spider type activity from a normal surfer so as to not offer links for resorting lists - i.e. http://mywebsite.com/dir1/content_list.php?sort=date&order=asc

 

Such a script would set a flag variable when client 123.45.678.90 accesses X number of pages within X number of seconds. Could this be done without having to use sessions or cookies?

Wouldn't you be better of looking in to mod_rewrite so you can use SEO friendly urls eg

 

http://mywebsite.com/dir1/content_list/date/asc

 

That way you urls are friendly for both your visitors and bots.

 

 

Sorry wildteen, I assumed made it clear from my opening line to the post, that I already do block undesirables. I just didn't clarify how ... using mod_rewrites.The example url I gave is a mock legitimate link that for anyone other than spiders, I could just present as regular text.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.