![]() |
Age restriction access - over 18s only, but search engines allowed - how?
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? |
Quote:
|
That would apply to members, but I don't want guests reading the forums without first acknowledging that they are over 18.
|
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. |
Quote:
|
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. |
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. |
Quote:
|
Presenting different content to a SE spider and to regular visitors is considered Cloacking and might get you removed from the SE.
|
Quote:
|
All times are GMT. The time now is 01:01 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|