[thelist] using PHP to bounce old URLs to new paths

Simon MacDonald simonmacdonald at uk2.net
Sun Apr 11 14:12:55 CDT 2010


Joel,

Maybe I'm misunderstanding you - can you not use cPanel Addon domains to
point to the folder hosting the domain?
Regards

Simon

-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Joel D Canfield
Sent: 11 April 2010 4:05 PM
To: thelist at lists.evolt.org
Subject: [thelist] using PHP to bounce old URLs to new paths

when I first set up multiple sites on my previous hosting (classic ASP) I
created directories for each domain which resulted in URLs like

 http://tunehenge.com/th/anotherfolder/file.asp or
http://spinhead.com/sh/thefile.asp

and now that I'm moving all my hosting to a nice little UNIX only place,
using PHP, I'd like to have those links resolve to

 http://tunehenge.com/anotherfolder/file.asp and
http://spinhead.com/thefile.asp

without the subdirectory, which is not part of the visible path on the new
hosting. I'll bet there's a simple way to do this. I'm just not sure what to
Google to find it.

joel
-- 

* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt ! 
 

__________ Information from ESET Smart Security, version of virus signature
database 5017 (20100411) __________

The message was checked by ESET Smart Security.

http://www.eset.com
 
 

__________ Information from ESET Smart Security, version of virus signature
database 5018 (20100411) __________

The message was checked by ESET Smart Security.

http://www.eset.com
 



More information about the thelist mailing list