John84 Established Member ★ 15 ★ Impact 2 Dec 17, 2006 659 views 2 replies #1 Hello, If I were to change my pages from thispage.html to thispage.php or this-page.html how would I make sure that the old page will redirect to the new one?
Hello, If I were to change my pages from thispage.html to thispage.php or this-page.html how would I make sure that the old page will redirect to the new one?
-Adam- The Caffeine King!VIP Member VIP ★ 15 ★ Impact 115 Dec 17, 2006 #2 <?php $URL="http://www.example.com"; header ("Location: $URL"); ?> or <meta HTTP-EQUIV="REFRESH" content="0; url=http://www.yourdomain.com/index.html"> Paste this code into the current page and place the url of the page you would like it to be redirected to.
<?php $URL="http://www.example.com"; header ("Location: $URL"); ?> or <meta HTTP-EQUIV="REFRESH" content="0; url=http://www.yourdomain.com/index.html"> Paste this code into the current page and place the url of the page you would like it to be redirected to.
stscac A Wealth of KnowledgeVIP Member VIP ★ 20 ★ Impact 73 Dec 17, 2006 #3 Make sure you specify whether the link is permanent or temporary. See the following site for details: http://www.somacon.com/p145.php -Steve
Make sure you specify whether the link is permanent or temporary. See the following site for details: http://www.somacon.com/p145.php -Steve