Quote:
Originally Posted by dcb
...can we put a "smart" redirector in it's place?
|
I don't have any php handy, but it would go something like this:
Code:
point forum.ecomodder.com* to point to an index.php file that does the following (and or add it to the file not found index):
look at the request headers, figure out the complete url string:
i.e. http://forum.ecomodder.com/forumdisplay.php/opengauge-mpguino-fe-computer-26.html
if the url string starts with "http://forum.ecomodder.com/forumdisplay.php/"
replace "http://forum.ecomodder.com/forumdisplay.php/" with "http://ecomodder.com/forum/" and leave the rest of the string in place.
Set the location header to the new string.