Auto Forward Web Page
I need some assistance in finding some code. I have redesigned my companies website and placed all new folders in a folder named "v2", as in version 2.
I have looked on the internet for some code to auto forward users from the original site index to the new site index under the v2 folder.
Does anyone have a recommended solution?
PHP header() redirect:
Meta refresh redirect:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<meta http-equiv='Content-Type' content='text/html; charset=ISO-8859-1'>
<!-- the next meta tag does the redirect -->
<meta http-equiv="refresh" content="3;url=http://www.yoursite.com/v2/index.php">
<p>Our web site has moved. If you are not automatically redirected to it in
a few seconds, please click the link below, and don't forget to bookmark
the new location.</p>
<p><a href="http://www.yoursite.com/v2/index.php">Go to new location</a></p>