I want to make it so when a user goes to www.example.com/test.html they will get redirected to say www.game.com How can I do this?
I would use Mod_rewrite if it's available. In the .htaccess file RewriteEngine On RewriteCond %{REQUEST_URI} ^/test.html [NC] RewriteRule ^(.*)$ http://www.game.com/ [R=301,L] PHP: This will be search-engine friendly and R=301,L makes it a Permanent Redirect. I believe 302 is Temporary. This is the *best* way to do a redirect, it also avoids the problem of when you try to hit the back button it constantly goes forward again.
the question is, do you want to display a message for 10sec (eaxample) and then redirect or immediately ?