Sorry, I'll try to be a little bit more clear.
Normally when someone enters my website, they have a link they click on to enter. That link redirects them to the main part of my website. What I need to do, is have an option so that when they click the link, they're redirected to a different website.
For example, say the website is www.website.com, and the page that they are redirected to when they click on the link to enter is enter.html. Normally, they would go to www.website.com, click on the link, and be sent to www.website.com/enter.html.
I need an option that can be turned on (maybe a variable?) so that instead of being redirected to enter.html, the people are redirected to a different website. www.website2.com, for example.
I don't want them to ALWAYS be redirected to www.website2.com, I only want them to be redirected when an option is set for that to happen.
This might work by having the initial page check for a variable, and decide what page to redirect them to based on what the variable is. I just don't know how to permanently change the variable, so that it stays changed until I change it back.
Hopefully that's more clear.
Thanks!