Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

redirect customer to home page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-29-2003, 01:17 PM
 
jeeya jeeya is offline
 

X-Adept
  
Join Date: May 2003
Location: USA
Posts: 807
 

Default redirect customer to home page

Hello,

My html catalog times out so mosty of the pages shows as now found, is there a way to set something like when they find something like this, page refresh automatically and go to home page?
Reply With Quote
  #2  
Old 11-29-2003, 02:21 PM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

A custom 404 redirect would work.

Or, you could add a redirect in your .htaccess file if you want to redirect all traffic from your catalog folder.

What control panel software does your server use?
Reply With Quote
  #3  
Old 11-29-2003, 02:42 PM
 
jeeya jeeya is offline
 

X-Adept
  
Join Date: May 2003
Location: USA
Posts: 807
 

Default

Thanks.

I think they use Plesk Software , I am hosting with Globat.com

Google serched 245 Pages from html catalog but they are not completely generated by html catalog, there are 1100 products but that's all it can generate.

I guess i will just make custom 404 redirect link hopefully that will work.
Reply With Quote
  #4  
Old 12-04-2003, 08:34 PM
  leon's Avatar 
leon leon is offline
 

X-Wizard
  
Join Date: Mar 2003
Location: Costa Rica
Posts: 1,213
 

Default

Yeah, you could use a custom 404 with a refresh in the header.
__________________
It doesn\'t matter what is done... it is how it is done.
=============================
XCart Version: 3.5.3 -> Dmcigars.com
XCart Version: 4.1.3....
Reply With Quote
  #5  
Old 08-10-2004, 11:15 AM
 
lixy lixy is offline
 

Advanced Member
  
Join Date: Apr 2003
Posts: 41
 

Default

I am having some problems creating a 301 redirect in my .htaccess. The reason I am doing this is I do not want to remove some out of date products from the site rather I want the customer to still be able to click on the discontinued product link when listed using the products.tpl however have it link to the new replacement product This is what I have entered in my .htaccess:

redirect 301 /mydir/customer/product.php?productid=100001&cat=&page=1 http://www.mysite.com/mydir/customer/product.php?productid=100002&cat=&page=1

I think the problem has to to with the usage of the "?" and "&" in the document location. I have other 301 redirects established in my .htaccess for static pages that are working jsut fine. Any help would be great!
__________________
XC 4.1.3
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:59 AM.

   

 
X-Cart forums © 2001-2020