Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Is there a way to limit search engines?
Old 10-15-2010, 02:47 AM Is there a way to limit search engines?
Experienced Talker

Posts: 29
Name: Ritchie
Trades: 0
Hope this is the rite part of the forum.

Hi
I would like to know if there is a way to limit certain search engines.
The reason for this is as follows, i have found a bug in my site which only works with the opera search engine, im finding it hard to eliminate this bug plus im really busy at the moment, hence the reason i would like this engine blocked from my site temporaraly or ideally if a person visits the site using opera a message could appear on my index page saying this site does not support opera? or anything along those lines please.

Last edited by TMMv1; 10-15-2010 at 02:50 AM..
TMMv1 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-15-2010, 04:46 AM Re: Is there a way to limit search engines?
Banned

Posts: 408
Name: mushget
Trades: 0
You can create a file named 'robots.txt'
the content of this file like these


User-agent: *
Disallow: /admin/
Disallow: /class/
Disallow: /data/
Disallow: /images/
Disallow: /include/
Disallow: /js/
Disallow: /templates/
mushget is offline
Reply With Quote
View Public Profile Visit mushget's homepage!
 
Old 10-15-2010, 04:52 AM Re: Is there a way to limit search engines?
Jim Gillum's Avatar
Super Moderator

Posts: 4,531
Name: Jim Gillum
Location: Orange City, Florida
Trades: 0
I may have missed something...But...
Opera is a browser.....and not a search engine....

And even with the disallow tags ...an engine may still crawl your site....
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
My Art Blog

Please login or register to view this content. Registration is FREE
The Groundhog
Jim Gillum is offline
Reply With Quote
View Public Profile Visit Jim Gillum's homepage!
 
Old 10-15-2010, 05:14 AM Re: Is there a way to limit search engines?
Banned

Posts: 408
Name: mushget
Trades: 0
Maybe you need to use some js code to check the client browser.
I get some code from google, You can change the code to have a try
<CODE>
<script>
function browserDetect(){//
var sUA = navigator.userAgent.toLowerCase();
var sIE = sUA.indexOf("msie");
var sOpera = sUA.indexOf("opera");
var sMoz = sUA.indexOf("gecko");
if (sOpera != -1) return "opera";
if (sIE != -1){
nIeVer = parseFloat(sUA.substr(sIE + 5));
if (nIeVer >= 6) return "ie6";
else if (nIeVer >= 5.5) return "ie55";
else if (nIeVer >= 5 ) return "ie5";
}
if (sMoz != -1) return "moz";
return "other";
}
alert(browserDetect())
</CODE>
</script>

Last edited by mushget; 10-15-2010 at 05:16 AM.. Reason: SPELL
mushget is offline
Reply With Quote
View Public Profile Visit mushget's homepage!
 
Old 10-15-2010, 05:20 AM Re: Is there a way to limit search engines?
Experienced Talker

Posts: 29
Name: Ritchie
Trades: 0
Quote:
Originally Posted by Jim Gillum View Post
I may have missed something...But...
Opera is a browser.....and not a search engine....

And even with the disallow tags ...an engine may still crawl your site....
Well spotted Jim.
My mistake I was mean't to say Browser
TMMv1 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Is there a way to limit search engines?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15492 seconds with 12 queries