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

Product URLs (again)

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-23-2005, 10:07 AM
 
gbanse gbanse is offline
 

Advanced Member
  
Join Date: Mar 2005
Location: Vermont, USA
Posts: 53
 

Default Product URLs (again)

Hola,
I've been playing around with using the Google Sitemap generator and noted that it choked on the long URLs like this:

/product.php?productid=16276&cat=259&page=1

In thinking about this a bit I wondered if the cart actually needed to know the category and page number so I trimmed the URL down to:

/product.php?productid=16276

and found it worked fine.

Now I can see a very easy way to generate URLs for the Google Sitemap generator configuration file by simply querying the database for the products and then tacking that info onto the URL in the XML format the config file uses.

Am I overlooking something?

If there are no major issues here, why shouldn't I be able to modify the X-Cart code so that whenever the cart points to a product page is drops all of the extraneous parameters? I get the feeling this is way too simple...
__________________
Gregg
XC v4.0.12 (13 and 17) Gold
Reply With Quote
  #2  
Old 11-30-2005, 04:03 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Hey Gregg...actually, if you want to take a major step forward in SEO, I'd have this mod installed:

http://www.safetynetweb.com/Dynamic-Search-Engine-Friendly-URLs-pr-1.html
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 11-30-2005, 04:49 AM
 
gbanse gbanse is offline
 

Advanced Member
  
Join Date: Mar 2005
Location: Vermont, USA
Posts: 53
 

Default

Hey Padraic,
Thanks for the reply.

I saw that mod. I'm wondering how bad the hit in traffic would be to make the switch now.

I tested the URL strings for the products and asked the X-Cart team about them. The reason I got started down this path in the first place was because the Google Sitemap generator script choked on the product URLs.

I tried the URLs without the cat and page and the product came up fine. The X-Cart team says there is no problem accessing a product page in this fashion. The only drawback is that the referring category and page information would be lost. Which - of course - got me to thinking that these could be carried in a session var rather than passed on the URL.

To test how well Googlebot like the new URLs I created a list of about 20 pages without the additional vars and submitted the sitemap to Google. It doesn't seem to have made much of a difference so I suspect we need to make the cart more SE friendly.
__________________
Gregg
XC v4.0.12 (13 and 17) Gold
Reply With Quote
  #4  
Old 11-30-2005, 04:53 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

You would probably take a hit to start by implementing the mod, but it would be a significant improvement in the long run. Maybe wait till after the holidays to plug it in?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 11-30-2005, 05:03 AM
 
gbanse gbanse is offline
 

Advanced Member
  
Join Date: Mar 2005
Location: Vermont, USA
Posts: 53
 

Default

That's what I was thinking.
__________________
Gregg
XC v4.0.12 (13 and 17) Gold
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 03:54 AM.

   

 
X-Cart forums © 2001-2020