The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Folks, I want to add a script to my site which requests the visitor to confirm that they are over 18 before they can view pages, but search engine spiders are allowed access so that we get logged into the search engines.
Is there such a mod available? (Haven't found one). How would I do this, please? |
#2
|
|||
|
|||
![]() Quote:
|
#3
|
||||
|
||||
![]()
That would apply to members, but I don't want guests reading the forums without first acknowledging that they are over 18.
|
#4
|
||||
|
||||
![]()
You need to add nofollow tag to any links which reference the page you want to prevent spiders from accessing like so:
<a href="spidersforbidden.php" rel="nofollow">link</a> This will prevent spiders from crawling the frbidden script. |
#5
|
||||
|
||||
![]()
Thanks, but that's not going to work, either, since I want the 'over 18' check to work on every page (it will have to be using Javascript) and that includes directly typing in the URL.
|
#6
|
|||
|
|||
![]()
I am somewhat unclear on the reasoning behind having this feature. If I am not mistaken when a search engine crawls your site it also creates a cache in which users can browse. This almost defeats the purpose of age-restriction.
An alternate method is to grab the VBSEO sitemap generator and use that to generate your sitemap and submit to Google/Yahoo/MSN, then continue with the 18 year old user-restriction on every page. |
#7
|
|||
|
|||
![]() Quote:
You are referring to "good" spiders? If the script needs to be off-limits to spiders, would that require a rule in .htaccess ? Just a thought. |
#8
|
||||
|
||||
![]() Quote:
|
#9
|
|||
|
|||
![]()
Presenting different content to a SE spider and to regular visitors is considered Cloacking and might get you removed from the SE.
|
#10
|
||||
|
||||
![]()
Thanks. That could present a bit of a problem. I'll ask Google, I think.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|