The intermediate page is a really simple piece of code. All you need is to create a blank file and add the following Hitoplive code:
<@set name="location" value="">
<@if name="form_link">
<@if name="form_link" value="" compare="ne">
<@set name="location" value="${form_link}">
</@if>
</@if>
<@rawheader name="Status" value="301 Moved">
<@rawheader name="Location" value="${relpath}${location}">
So what does this do?
The first line sets an empty variable called location.
Then we do a quick check to see if the page has been called with a query
string, with a variable called link. In the third line we check
to see if this has been left blank, and if not, we set the value of
location to be the same as the query string variable
link - this will be the location of the page we want to go to.
The seventh line tells the browser to get ready to redirect the page using
the <rawheader> command.
The eigth line then tells the browser where to go. If the
location variable hasn't been set, then the user just gets moved
to the site homepage.
Because of the way web browsers work, you will never see this intermediate page in the browser history - it will be invisible, just as if it had never existed.