View Single Post
Old 02-23-2008, 07:30 PM  
crockett
in a van by the river
 
crockett's Avatar
 
Industry Role:
Join Date: May 2003
Posts: 76,806
Link redirects..

I'm trying to set my network up so it's easier to later edit links. I'm not a server guru so I'm wondering if there is anything wrong with this method.

What I want to do is link to a specific url, then redirect that url to the paysite. This way any place I want to link to a specific program I can instead link to the one single url. This will make it easy to later edit or change the link if I need to at one place rather than hundreds of pages.

So I want to link to a url like this.. www.myurl.com/paysite1.php

That link would then redirect to using code like this.

<?php
ob_start();
echo "Test";
header("Location: http://www.paysiteurl.com");
ob_flush();
?>

I'm wondering if this would cause any problems? or if it could possiable get me banned in the SE's for redirects.
__________________
In November, you can vote for America's next president or its first dictator.
crockett is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote