Have some urls/web address you want to redirect your website visitor to? The following page has the full source code in both Javascript and PHP to do this. The source code is such that you can create the redirection script with as many or as few urls as you wish.

The Javascript source code should be placed in the web page header, right before the closing </head> tag. Adjust the code to suit your needs as far as the number of urls you have (for example if you are split testing offers with different urls). You can also adjust the amount of time of delay before the actual redirection occurs. You can make it so there is absolutely no delay or a delay of as many seconds as you wish ...