Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End [Solved] Redirect Pages ? Re: [Solved] Redirect Pages ?

#63553
m221
Member

I found a solution…

1. Create a page redirect.php:
<?php
$url = $_GET;
header("Location: $url");
?>

2. Create a robots.txt file and write:
Disallow: /redirect.php?*

3.
In the page where you list all of the links you, write the following code:
<li>http://www.yourownpage.com/redirect.php?url=http://www.externallink1.com</li&gt;
<li>http://www.yourownpage.com/redirect.php?url=http://www.externallink2.com</li&gt;
<li>http://www.yourownpage.com/redirect.php?url=http://www.externallink3.com</li&gt;

4. That’s all!