[Pro] Entry button for over 18s only

Hello,
I’m designing a website for an erotic book company (needs must unfortunately) and they would like a button on the index page that has an entry button confirming they are over 18 before entering the website. How do I do this? I’ve tried using a check box but it’s not really meaty enough. I’m not much of a web person, definitely more on the designer side than coding so it needs to be simple!
Any suggestions gratefully received…
Thanks


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

One very easy trick would be to open up Page / Form Setup on your “I agree” page and set the following options:

  • Method: GET
  • Action: gallery.html (or whatever you’ve named your “real” home page

Then put a single Submit button anywhere on that page. It doesn’t matter what you put in that button at all, but you could set the Value to “I Agree” or “I swear, really, I’m 18 or older”, or whatever you like.

Now, when someone presses that button, they will be redirected to the real home page. If they don’t, then they won’t get there (and Google, which does not follow forms when it crawls a site, will not go into the site either – at least not through the front door).

What this trick represents is the barest minimum that anyone could expect to do anything at all. It is the proverbial screen door on a submarine, because it won’t stop anyone who comes in through a search engine from reaching any of the inside pages.

You could tighten it up a little bit by putting all of the “protected” pages in a folder, and then adding a robots.txt file inside that folder to tell the ethical search engines to leave it alone. Visit http://robotstxt.org for more info on that subject.

If you really had a legal responsibility to keep out anyone who didn’t say they were 18, regardless of how true that was, you would need to go further, though. That does mean code, but it’s not a lot of code or very hard to do. Let me know if you’re needing that.

Walter

On Jan 24, 2012, at 5:42 AM, Angela wrote:

Hello,
I’m designing a website for an erotic book company (needs must unfortunately) and they would like a button on the index page that has an entry button confirming they are over 18 before entering the website. How do I do this? I’ve tried using a check box but it’s not really meaty enough. I’m not much of a web person, definitely more on the designer side than coding so it needs to be simple!
Any suggestions gratefully received…
Thanks


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walter,
Thanks that’s great - I have done the form thing.

The site isn’t that naughty, it’s just advertising erotic books not actual pornographic pictures, so I don’t think there’s any legal issues. My client just wants it on as a bit of a precaution - I guess like youtube has it on.

Angela


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options