Warning page index.html file - how to make it?

Joe

New member
Personal Website how to make adult warning page?
I am making a personal webpage that I want to warn non-adults from entering my website. I won’t have nudity, but I may have mature jokes and I want to warn visitors before entering.

I know I have to do something with the index file and have a script that I want to use.
<html>
<head>
<title>Age Verification</title>
</head>
<body style="font-family:Arial; color:black; font-size:10pt; text-align:center">
This site contain adult material!
Please enter if you are over the age of 18<br>
<a href="LINK-TO-MY-SITE-GOES-HERE">Enter</…
or
<a href="http://www.google.com">Exit</a>
</body>
</html>

My Question?
I put the above script into my first index.html file and I made a new index file named index2.html my home page. But when I pick the enter option it goes to an error page instead of my website homepage. In the section marked <a href="LINK-TO-MY-SITE-GOES-HERE"> , I entered “http://www.mysite.com/index2.html How do I make the second index2.html work?

I am using Soholaunch (which I think uses php) as my website builder. Thank you for any help.
I tried the index2.html and it didn't work. I'm not sure what to do with the index2.html? My index2.html was my index.html file and it worked fined.
 
Back
Top