| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
free SEO mod - XC SEO -> needs testing & feedback | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
free SEO mod - XC SEO -> needs testing & feedback
XC SEO Lite v 1.0.0 Released
Thread is available at the following url: XC SEO Lite Released Quote:
|
|||||||
#2
|
|||||||
|
|||||||
Patching X-Cart for the SEO mod:
open config.php: Find Code:
After, Add Code:
Open auth.php: Find Code:
After, Add Code:
open smarty.php: Find Code:
After, Add Code:
Open skin1_original/meta.tpl: Find Code:
After, Add Code:
Froogle SEO mod - this modification is optional: open modules/Froogle/froogle.php: Find Code:
After, Add Code:
Find Code:
After, Add Code:
Find Code:
Replace With Code:
Find Code:
Replace With Code:
Save and Close all files. ############################ IMPORTANT: if you already have a .htaccess file on your server, you need to (selectively) add in the changes, from the provided .htaccess file. Download the zip file linked in the first post, extract the contents to your harddrive, and upload: .htaccess -> xcart root seo.php -> xcart root include/class.xcart_seo.php -> include/ include/templater/plugins/outputfilter.seo.php -> include/templater/plugins/ Done |
|||||||
#3
|
|||||||
|
|||||||
ToDo:
|
|||||||
#4
|
|||||||
|
|||||||
Can you add to the "to do" list.
Intergrate with froogle feed generator. Its a must for any type of mod like this. I know the mod is generally for your client and i've got no right to ask but it would be cool
__________________
x-cart 4.0.5 (live and heavily modded) Server: freebsd |
|||||||
#5
|
|||||||
|
|||||||
sure, that was actually one of my intentions, but I had forgotten
thanks for reminding me (btw, this is an in-house project for my corporate employer, but any improvements that are suggested are welcome, because they will benefit us as much as you ) I'll edit the post above with the ToDo. just a note, I've now fixed relative urls, and the mod is working VERY nicely in testing (also had to fix any FORM urls, since they are all relative as well). i'll post the updated files soon |
|||||||
#6
|
|||||||
|
|||||||
SEO MOD UPDATED - to version 0.2
Note: the .htaccess file that I use is now included in the zip archive. Do not upload blindly. If you already have a .htaccess file, you'll need to merge in my changes. |
|||||||
#7
|
|||||||
|
|||||||
Quote:
Just a note, old urls are directed to the new url location, so this mod wouldn't break .php links. So, you won't lose any froogle compatibility, per se. Anywho, I'm working on implementing Froogle-module urls right now |
|||||||
#8
|
|||||||
|
|||||||
SEO MOD UPDATED - to version 0.3
EDIT: Once you install the SEO mod, you must Export the Froogle txt file for the SEO urls to be created in the export. The install instructions have been updated, please read! (2nd post) Cheers! |
|||||||
#9
|
|||||||||
|
|||||||||
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. |
|||||||||
#10
|
|||||||
|
|||||||
keep in mind, the project is still not recommended for a live website, i found a bug the other day that requires a rewrite of some of the url-matching code.
i haven't tested on 4.1 yet, i'll have to test it to see what's going wrong |
|||||||
|
|||
X-Cart forums © 2001-2020
|