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
  #11  
Old 04-30-2006, 05:12 PM
 
fhiremark fhiremark is offline
 

Advanced Member
  
Join Date: Apr 2006
Location: New York
Posts: 66
 

Default

I have to commend you on what you're doing. I think this is a great mod, though I haven't tried it yet. Good job! and I think the community is really going to appreciate this too!

Thanks
__________________
X-cart GOLD v 4.0.18
Reply With Quote
  #12  
Old 05-01-2006, 08:48 AM
 
intel352 intel352 is offline
 

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

Default

thanks, I appreciate it

it'll be nice to get the code stable and tested. We're starting up a domain with this code soon and will submit it to google, to see how the shop will rank. It'll have the same products as a well-established shop that we have, running X-Cart 3.4, so that'll provide a decent benchmark.
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #13  
Old 05-01-2006, 11:11 AM
 
leagcyteam2 leagcyteam2 is offline
 

Member
  
Join Date: Aug 2005
Posts: 25
 

Default

Please keep us posted how your new site ranks....
__________________
4.1.9
Reply With Quote
  #14  
Old 05-01-2006, 03:01 PM
 
Jerrad Jerrad is offline
 

X-Adept
  
Join Date: Nov 2004
Location: The Netherlands
Posts: 484
 

Default

I also appreciate all your hard work, intel352!
I'm really looking forward to your mod and hope you succeed in getting the code stable and bug free.
__________________
X-Cart 4.0.12
Heavy modified with paid, free and forum mods.
PHP 5.2.5 | MYSQL 5.0.51a
Reply With Quote
  #15  
Old 05-02-2006, 11:01 AM
 
intel352 intel352 is offline
 

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

Default

Thanks guys, I'll be sure to keep this thread updated with any and all progress regarding the mod and live-environment testing

OKAY - time for a new release:

SEO MOD UPDATED - to version 0.5
  • Rewrote URL matching technique for better accuracy
  • Added URL verification, to ensure content is accessed by a single url ONLY. If an 'alternate' url is used, or a misstyped url, the SEO mod does it's best to redirect users to the correct URL, or return a 404 error if the url is not salvageable. For products, as long as the _p1234.html bit is found in the url, the proper url can be found. For categories, using Fuzzy String Matching technology, the closest match to a category will be selected.
  • Added 'lo-fi' option, when a bot visits, it is shown a version of the site with most HTML removed, all Javascript removed, most non-relevant images removed, etc. This version is flagged as NON-cacheable to proxies, browsers, and bots, so anything seen as a bot will get this non-cacheable low-end version of your site. This is OPTIONAL, and defaults to OFF.


The install instructions have been updated, please read! (2nd post)

Cheers!
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #16  
Old 05-02-2006, 12:47 PM
 
intel352 intel352 is offline
 

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

Default

Quote:
Originally Posted by Megamuch
I'm trying to apply this mod to default 4.1 install.

I'm getting there. The category urls are working, just redirecting is not working actually. I just get kicked back to home.php.

Product urls are fubar, which is strange because the url system was not updated between 4.0.18 and 4.1 (To my knowledge).

I'll see what I can make of it.

I've just tried to install 4.1, it gets to step 9 and hangs. I can't test 4.1.0 if I can't install it, so I recommend you stick to 4.0.x when using this mod
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #17  
Old 05-02-2006, 12:56 PM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

can you just clarify something for me before i start having a go with this mod.

Quote:
$seo_enable = true; // enabling the seo url optimizer

in the install instructions, does this section mean i can just turn it on and off from here so that if something goes wrong - one change will revert it back to normal?
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #18  
Old 05-02-2006, 01:04 PM
 
intel352 intel352 is offline
 

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

Default

that's correct, that one setting will completely disable the mod
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #19  
Old 05-02-2006, 01:24 PM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

What also might be handy is to add lynx browser to one of the recognised engines so we can see whats getting stripped out on the lo fi version.

or for those who don't use lynx

http://www.delorie.com/web/lynxview.html
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #20  
Old 05-02-2006, 01:30 PM
 
intel352 intel352 is offline
 

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

Default

Quote:
Originally Posted by cotc2001
What also might be handy is to add lynx browser to one of the recognised engines so we can see whats getting stripped out on the lo fi version.

The mod depends on X-Cart's definition of what a bot is. you can edit the include/bots.php file to add Lynx

Try the following:

open include/bots.php

Find
Code:
if(!empty($HTTP_USER_AGENT) && !defined("IS_ROBOT") && empty($is_robot)) { $ua = array(

After, Add
Code:
"Lynx" => array("Lynx"),


EDIT: just a note, that change worked for me, using the url you provided.

Another note, the lo-fi mode is not meant to be pretty, and is not meant to be viewed by a regular browser. This is just an attempt to strip down to bare HTML + Content, if you have any recommendations regarding this mode, let me know.

In my own testing, only product images are left (as is intended), as they are the only images that have alt values (again, on my install).

It's possible for you to alter what is stripped out in Lo-Fi mode (requires editing of the outputfilter.seo.php file, if I remember correctly)
__________________
-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 06:47 PM.

   

 
X-Cart forums © 2001-2020