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

free SEO mod - XC SEO -> needs testing & feedback

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #71  
Old 05-17-2006, 08:50 AM
 
alru111 alru111 is offline
 

eXpert
  
Join Date: Dec 2005
Posts: 244
 

Default

I have a strange issue with this mod when in firefox I can't seem to login in the shop or add to cart, under non-JS version everything is fine.
__________________
X-Cart version 4.0.19
Reply With Quote
  #72  
Old 05-18-2006, 12:54 PM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default

SEO MOD UPDATED - to version 0.6
http://www.phpsitesolutions.com/files/X-Cart_SEO_Mod_v06.zip

This is mainly a bug-fix release.
  • Altered URL matching/replacing regex for *better* accuracy, was breaking some urls for users.
  • Fixed product page's inability to switch into printable mode.
  • Fixed Froogle breaking when XC SEO is disabled
  • Added config option for users to define 404 url for users that somehow hit a broken URL.

I will update the install instructions and whatnot later. Also, once I get a moment to breathe, I'll setup a website + forum for XC SEO users to post questions, report bugs, etc etc... make it a bit more organized, since using a single thread to manage a project can be daunting ha

cheers. let me know how this version works for you.

This release is still only for 4.0.18 - This release also works for me under 4.1.0, so I'll post install instructions for THAT version of X-Cart sometime soon.
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #73  
Old 05-18-2006, 04:09 PM
  moneysaver67's Avatar 
moneysaver67 moneysaver67 is offline
 

Advanced Member
  
Join Date: Nov 2005
Posts: 74
 

Default

Bravo! Wow, 5 pages deep and I'm just barely catching wind of this? You go, man!

I'd be happy to dedicate myself to provide feedback wherever I can!

Also, one question I had was how toggling

Code:
$seo_enable = false;

Prevents the .htaccess from kicking in? Or is it that it's really a 2 step process

Anyhow, about to implement into a 4.0.18 dev site...can't wait!

EDIT: One thing that I noticed is this doesn't seem to handle some of the other X-Cart default page types:
  1. Secondary pages: pages.php?pageid=1
  2. Help zone: help.php?section=contactus&mode=update

List of recommended pages to check for:
home.php [covered]
cart.php [covered]
product.php [covered]
search.php [covered]
manufacturers.php
pages.php
help.php

I'm certain there are more I have missed.

Further: I found that I could not sort search results!?

Here is the url excerpt

clicking or browsing to the following directly

Code:
search.html?mode=search&sort=productcode&sort_direction=0

comes out as

Code:
search.html?mode=search&sort=productcode&sort_direction=0

Possibly the &= could be the culprit?

Unfortunately, this also prevents me from browsing to Page 2 of my search results!

Aside from that, well done! This seems to be working quite well. That Fuzzy string logic is genius, and I love how it enforces 301...just TOO cool :P
__________________
X-Cart 4.0.16-.19 Gold [unix] / DSEFU
Reply With Quote
  #74  
Old 05-18-2006, 07:14 PM
 
netra4u netra4u is offline
 

Member
  
Join Date: Jan 2003
Posts: 17
 

Default moist-oil-9oz_p2307.html?cat=588&page=

[
Code:
moist-oil-9oz_p2307.html?cat=588&page=

I am getting this kind link a lot

just wonder

shall i block all php on robots.txt

i have these on my robots.txt

Disallow: /*.php$
Disallow: /*?


shall i leave this or remove ?

because this getting these too many

URL restricted by robots.txt
__________________
X-cart 4.1.6
Reply With Quote
  #75  
Old 05-18-2006, 07:52 PM
 
netra4u netra4u is offline
 

Member
  
Join Date: Jan 2003
Posts: 17
 

Default getting sub category link only

link show sub category only

if

www.aaaa.com/bbb

when i click bbb

it link only

www.bbb not like above.

not all of them some of them links like that
__________________
X-cart 4.1.6
Reply With Quote
  #76  
Old 05-18-2006, 08:29 PM
 
alru111 alru111 is offline
 

eXpert
  
Join Date: Dec 2005
Posts: 244
 

Default

it's a good question
what should a robot.txt look like when applying this mod?

It doesn't affect static pages like news, help zone
would be nice to have those done too
__________________
X-Cart version 4.0.19
Reply With Quote
  #77  
Old 05-19-2006, 02:01 AM
  pmdye's Avatar 
pmdye pmdye is offline
 

Member
  
Join Date: Apr 2006
Location: Southampton, UK
Posts: 22
 

Default

Quote:
Originally Posted by intel352
Quote:
Originally Posted by pmdye
Looks like I've found another bug;

Something is interfering with XCart's normal redirection to HTTPS url's when proceeding from the cart to the checkout, if "Use HTTPS for users' login and registration" is turned on, as the subsequent checkout process remains normal HTTP.

(EDIT: "basket" means "cart" for those of us this side of the Atlantic )

do you have more info that you can provide? i.e. - what happens to the url? what would be the normal url, and what do you get instead?

does X-Cart attempt to redirect and you get the wrong page? or does it just not redirect at all?

does it prevent you from getting to the HTTPS url completely?

Sorry for the delay...

- Without the mod, when clicking from the cart to the checkout, the form submits to cart.php, which sends a 302 redirect to the https version.

- With the mod enabled, when clicking from the cart to the checkout, the form submits to cart.php, and something (the mod?) sends a 301 redirect to cart.html, but only http, not https.

- Manually going to the https version results in a 302 redirect to non-secure cart.html.

HTH,
__________________
Phil Dye
Technical Manager, The Kite Shop Ltd
Tel: 0845 130 4791
Web: www.kiteshop.co.uk

X-Cart 4.0.19
X-AOM
x-cart-seo Mod
Reply With Quote
  #78  
Old 05-19-2006, 02:23 AM
  pmdye's Avatar 
pmdye pmdye is offline
 

Member
  
Join Date: Apr 2006
Location: Southampton, UK
Posts: 22
 

Default

It seems this is related to https.php; it checks an array of script names that are required to be https (line 58 on); adding

Code:
$https_scripts[] = array("cart.html", "mode=checkout"); $https_scripts[] = array("cart.html", "mode=auth");

to this list seems to fix it, although there may be a neater way.
__________________
Phil Dye
Technical Manager, The Kite Shop Ltd
Tel: 0845 130 4791
Web: www.kiteshop.co.uk

X-Cart 4.0.19
X-AOM
x-cart-seo Mod
Reply With Quote
  #79  
Old 05-19-2006, 02:48 AM
  pmdye's Avatar 
pmdye pmdye is offline
 

Member
  
Join Date: Apr 2006
Location: Southampton, UK
Posts: 22
 

Default

(Me again!)

I then had a problem with links back from https pages to normal http home.html, where xcart was adding a xid= param to the query string.

I think this was failing the check_url test in seo.php because verifyUrl was matching on home.html; I've changed

Code:
if($query && preg_match('@^('.$xcart_web_dir.'[/]|[/])*home\.(php|html)$@i',$path)){

to

Code:
if($query && preg_match('@^('.$xcart_web_dir.'[/]|[/])*home\.php$@i',$path)){

and that seems OK.
__________________
Phil Dye
Technical Manager, The Kite Shop Ltd
Tel: 0845 130 4791
Web: www.kiteshop.co.uk

X-Cart 4.0.19
X-AOM
x-cart-seo Mod
Reply With Quote
  #80  
Old 05-19-2006, 03:41 AM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default

Thanks for the feedback everyone, I can't believe 2 more pages added to the thread while I was asleep, ha.

I've got a forum for XC SEO up, I'll be handling support issues over there. Any bugs that are still listed in this thread and are unresolved, I'll post in the Bugs forum for XC SEO.

I'll post new install instructions later today as well.

XC SEO Support Forums
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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 02:57 AM.

   

 
X-Cart forums © 2001-2020