View Single Post
  #9  
Old 09-06-2004, 06:49 AM
  frankdux's Avatar 
frankdux frankdux is offline
 

Senior Member
  
Join Date: Jul 2004
Location: Manchester, NH, USA
Posts: 125
 

Default

Ok, I got the answer to my original question so I'll post it here in should anyone else need it. This is actually almost the same thing Jon suggested.

If you always want customers accessing http://www.yourdomain.com/x-cart/customer/home.php to be automatically redirected to http://www.yourdomain.com you could do the following:

Edit the 'customer/home.php' script and insert the line

if(empty($QUERY_STRING)) func_header_location("http://www.yourdomain.com");

right after the line

require "./auth.php";
__________________
X-Cart: 4.0.18
Linux, Apache, MySQL: 4.1.16, PHP: 4.4.2
Reply With Quote