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

Using Your Own Page Instead Of customer/home.php

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 09-28-2004, 06:57 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

^ To the best of my knowledge yes.
Reply With Quote
  #12  
Old 09-28-2004, 08:11 AM
  lildawg's Avatar 
lildawg lildawg is offline
 

X-Adept
  
Join Date: Jan 2003
Location: Utah
Posts: 686
 

Default

I am not so sure about that. As in one of my sites in the root I use an index.php file that redirects the customer to the cart. I only have around 2000 products and google has 4040 links to my site they have both the php version indexed as well as the catalog/html version. It is more of a penalty if you redirect your customer from your domain to another domain and are just using a site as a doorway to your other site. As long as it is staying in the same url it appears you are fine. At least with my 60 websites I have never had a problem with it. Just my opinion though I could be wrong but as said I do not seem to have been penalized for it and have been doing it for a couple of years now.
Reply With Quote
  #13  
Old 09-28-2004, 09:56 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

^ Isn't it possible though that they are indexing those pages by coming to a different page and spidering through, and not working off your index redirect?
Reply With Quote
  #14  
Old 09-28-2004, 05:00 PM
 
coneme coneme is offline
 

Member
  
Join Date: Feb 2004
Posts: 14
 

Default safe php redirect

Hi,

I think I might have found an answer...

http://www.searchenginepromotionhelp.com/m/articles/search-engine-problems/url-redirect-safe.php


It seems that a 301 (Permanent redirect) is the only safe redirect that Google won't penalise.

Thanks for your replies
__________________
xcart 3.5.10 [unix]
PHP 4.3.8
MySQL 4.0.20
Reply With Quote
  #15  
Old 09-28-2004, 05:17 PM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default

Using a meta refresh or a header redirect generates a 302 error code. A 302 is a temporary redirect and some search engines do not like that.

The reason that they do not like it is that it is a common thing for people to do to try to get better listings. They will register multiple domain names, create redirect pages to one single site and then register all the domain names with the search. Google "frowns" on this.

What you should have your site do is generate a 301 code for a redirect. This is a permanent redirect. The best way to do this is through the .htaccess file. You should create entries like this:

Code:
Redirect permanent /index.html http://www.yoursite.com/catalog/index.html Redirect permanent /index.php http://www.yoursite.com/catalog/index.html Redirect permanent /index.htm http://www.yoursite.com/catalog/index.html


This assumes that this is the path to your catalog. It also covers all three instances of standard index pages that are configured with *NIX servers.

It is important that you precede each listing with Redirect permanent and not just Redirect. The former generates a 301 code and the later will still generate a 302 code.
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 04:21 AM.

   

 
X-Cart forums © 2001-2020