I have this local site where the second page has to only be accessible through a specific button, and not by direct access by writing the URL.

I have this simple example:

Page 1:

```
<html>
<head><title>page 1</title></head>
<body>
<button type="button"><a href="page2.html">to page 2</a></button>
</body>
</html>

```

Page 2:

```
<html>
<head><title>page 2</title></head>
<body>
<h1>PAGE 2</h1>
</body>
</html>

```

Thanks.