Forum:Redirect Page with Javascript

Is there anyway I can redirect my main page to another page?

This is what I want. I want my users to land on my intro page. Then when they click on the "Enter Site" button it takes them to my main page. I was wondering if there is someway to accomplish this using:

--Andromeda Vadum (talk) 19:42, October 2, 2012 (UTC)


 * You would be better off with, but I would advise against doing this. When people go to your wiki, they expect to see your wiki - not some other site.


 * Rather than redirecting the main page automatically, you could have a button that takes the user to the other site when they click it -- but if they don't click the button, then they won't be taken to the other site. A very simple example would be:

 Google
 * which makes Google. If you want more fine control, you can make the button/javascript in a MediaWiki page and then place the raw HTML + script for the button onto the main page of your wiki by using verbatim tags.

It's not working Monchoman45, anything else? I put the code in MediaWiki:Wikia.js Does that help? It is not working...--Andromeda Vadum (talk) 23:46, October 2, 2012 (UTC)