I am hoping to find an easy way to do this with PHP, short of adding the header function to every page, or perhaps some non-PHP method (htaccess?).
I want a visitor to end up on "siteB.com/index.php" regardless of whether he/she visits
siteA.com/abc/index.php
or
siteA.com/def/index.php
or
siteA.com/xyz/index.php
etc...
I can't be the first person to want to change a site's URL so there must be some easy way to do it. If anyone could point me in the right direction, it would be greatly appreciated
Marcus