![]() |
[MODULE] XC SEO v1.2.0 Released
XC SEO v1.3.0 HAS BEEN RELEASED
The XC SEO team is proud to announce the release of XC SEO version 1.2.0. XC SEO is completely free, and licensed under the GNU GPL 2 license. All code is versioned and available from our repository at: http://code.google.com/p/x-cart-seo/ A zip of the release is available at the url provided above. This release is for X-Cart 4.1.7 ============================== A couple of sites using XC SEO:============================== |
Re: [MODULE] XC SEO v1.1.0 Released
The documentation for 4.0x refers to /cache/modules.php, could someone please verify that the reference is correct?
This release was developed solely on 4.1.x, so verification that the 4.0.x instructions are correct would be greatly appreciated :-) Additionally, hopefully you'll all notice that under the Administration -> Modules section, you'll now be able to Enable/Disable XC SEO, and additionally configure options for the module (currently only 1 option is presented, but there will be more added going forward). Cheers EDIT: something that was forgotten in the documentation, if you're upgrading, you can delete the following files (after you install the NEW release) /seo.php /include/templater/plugins/outputfilter.seo.php |
Re: XC SEO v1.1.0 Released
First of all, thanks for this new version of this great mod!
While applying the sql commands, I received this message: QL PATCH FAILED AT QUERY: INSERT INTO xcart_config VALUES ('xcseo_keyword_injection','Specify a keyword to inject into rewritten urls','','XC_SEO',10,'text','','') |
Re: XC SEO v1.1.0 Released
Ah, shame, looks like table structure must be different for 4.0.x, I'll check into it, and update with the needed SQL queries for ya.
|
Re: XC SEO v1.1.0 Released
I've got it installed and it works great!
Also in the admin zone I can access the xc seo module and turn it on and off - really great! No idea what is missing because of the (partially) failed sql patch? |
Re: XC SEO v1.1.0 Released
The new sql patch for 4.X.X works great.
Thanks! |
Re: XC SEO v1.1.0 Released
Please use the following SQL for installing on 4.0x:
Code:
INSERT INTO xcart_modules (module_name, module_descr, active) VALUES ('XC_SEO','This module rewrites your website urls for Search Engine optimization.','Y'); |
Re: XC SEO v1.1.0 Released
What's the new SQL patch for 4.x.x?
**never mind :) |
Re: XC SEO v1.1.0 Released
The instructions say:
Quote:
Modules.php is in /admin for 4.x.x, there is no /cache folder. Do I delete that one? |
Re: XC SEO v1.1.0 Released
No, do NOT delete that one :-)
I don't have a 4.0x test environment available, so I'm not sure if/where 4.0x caches module information. Look in the root of your installation, check templates_c, or if you have a /var directory, check inside there. Or, to keep things simpler, once you've installed the SEO module, go into the Administration -> Modules menu, Disable XC SEO, and then Enable XC SEO. If there's any type of module cache, that step should reset the cache. |
Re: XC SEO v1.1.0 Released
Thanks for this great mod.
By the way, the Administration -> Modules menu section lists the XC SEO module twice. |
Re: XC SEO v1.1.0 Released
Curious. Did you happen to submit the SQL patches more than once?
You can execute the following SQL to uninstall/reinstall the SQL, to make sure everything is inserted properly and get rid of duplicates: Code:
DELETE FROM xcart_modules WHERE module_name='XC_SEO'; |
Re: XC SEO v1.1.0 Released
for the 1.0.6 - 1.1.0 upgrade doc.
i think we can add: Remove file: /seo.php include/templater/plugins/outputfilter.seo.php acutally, i have paid my my domain to use DSEFU but i have switch my site to this SEO already, why? becuase l love it is open source and DSEFU has bugs in 1.0.6 and still not fixed yet. |
Re: XC SEO v1.1.0 Released
Quote:
Yes, the first time with the original patches in the install file where I received an error. The second time with the 4.x.x version you posted in this thread. And your posted fix did the trick. |
Re: XC SEO v1.1.0 Released
@teddychan: good to know that you had a commercial seo mod and switched, I'm happy to have the support :-)
additionally, the delete information will be included in 1.1.2 (it won't hurt users for those files to be there for right now, and I forgot to add those lines a 2nd time, hehe) @scott: glad the fix worked ;-) ======================================= Just released 1.1.1 with a fix to seo.php (bug was preventing seo.php from redirecting the old urls, bug existed as of 1.1.0). Sorry for releasing so often, but I'd rather people not have issues with the mod ;-) Cheers Quote:
|
Re: XC SEO v1.1.0 Released
Suggestion:
when viewing product ID 3, using english. and switch the language to Chinese (any other lanauge is okay) suppose it is stay in the same page, however, now it will be redirect to the main page. i hope this function can be added soon. 2ndly, to help other to switch from paid SEO to this one. i think it can add this in .htaccess: Code:
// START for SAFETYNET REWRITE RULES after the line: ##### / XC SEO Lite 3rdly, it can also add the rewrite rule: Code:
RewriteRule sitemap.html sitemap.php at the end of the .htacess file. so that x-cart will look more likly to have static page~ |
Re: XC SEO v1.1.0 Released
@teddy: so you're having trouble viewing a product page after changing your viewing language? hmmm
could you provide me with an example url so that I can test? ------------------- regarding the DSEFU mod, it would be best to change the [L] to [R=301] for any rules that overlap with XC SEO's rewrite rules. that way, search engines will be redirected to the .php url, and then be redirected again by seo.php, to the new html structure (to avoid duplicate content). I'll have to look at the Safetynet rules tomorrow to provide you with rule changes that should work. ---------------------- regarding home.php and other pages not currently supported, I'll see what I can do :-) |
Re: XC SEO v1.1.0 Released
I just installed this mod on 4.1.3 and it works great. Thanks so much for taking the time to not only make the mod, but also provide it for free. Very generous donation of your time and skills.
|
Re: XC SEO v1.1.0 Released
Glad you like it :-D
================= BUG Okay, everyone, I apologize, but I found another bug. Again, due to the change to the module structure, I missed another Conditional statement :-( (in the documentation) In your froogle.php file, search for the line: Code:
# Post string The line that immediate follows was not updated in the Install documentation. Replace the line after "Post String" so that the section looks like the following: Code:
# Post string Originally the code read "if ($seo_enable) {", which is an obsolete variable as of 1.1.0. Additionally, the documentation for 4.1.3 read: "if (!empty($active_modules["XC_SEO_Lite"])){" Which again, is incorrect, because the module name is XC_SEO as of 1.1.0 I apologize for the confusion. These changes will be reflected in the documentation for version 1.1.2, to be released tomorrow. |
Re: XC SEO v1.1.0 Released
I won't get a chance to work on it tonight I think. I first need to first get to know the module code. But here is a list of ToDo's on the code for me. What do ya think Intel?
-force all lower case urls -make home.php 301 to base dir (prevent dupe content with / & /home.php) -filter urls to point to base dir for home page not home.php (prevent dupe content with / & /home.php) -Send bots to 401 when it's a printable or sorted page (I'm afraid the 301 will send the bot into a loop which would be bad) -Add no index,nofollow tag if it's a printable or sorted page (in case bot detection fails) -Add nofollow links to printable and sorted urls (in case bot detection fails) -Make option to not rewrite sorting and printable urls (no need with other features) |
Re: XC SEO v1.1.0 Released
I already have the DSEFU mod, is there any benefit of switching to this mod?
Thanks. |
Re: XC SEO v1.1.0 Released
Those ToDos all sound good. One additional thing:
-Verify that url being visited is a legit url, otherwise redirect to the legit url (to prevent duplicate content if someone changed a product title) -Make lower-case urls optional in admin Regarding sending bots to 401 for printable, I've tested the redirection by flagging myself as a bot, it works fine in my tests, no loop. Unless you're talking about more of a situation such as "the bot got redirected to the origin page, and tried to visit the print page again" type of thing, but that won't happen either, because if the bot is detected, the Print/Sort links are written differently for bots (if you're a bot, you will NOT see a Print/Sort url in the page content, the print/sort flags are removed, so the only time you would be redirected is if you followed some external link) Good thought about the nofollow, noindex. That should be simple to implement, similar to the TITLE tag insertion |
Re: XC SEO v1.1.0 Released
Intel - Thanks for this!!!
If using 4.0.18, do we need to apply the following patch? Code:
INSERT INTO xcart_modules (module_name, module_descr, active) VALUES ('XC_SEO','This module rewrites your website urls for Search Engine optimization.','Y');INSERT INTO xcart_config (name,comment,value,category,orderby,type,defvalue) VALUES ('xcseo_keyword_injection','Specify a keyword to inject into rewritten urls','','XC_SEO',10,'text','');INSERT INTO xcart_languages (code,name,value,topic) VALUES ('US','module_descr_XC_SEO','This module rewrites your website urls for Search Engine optimization.','Modules');INSERT INTO xcart_languages (code,name,value,topic) VALUES ('US','module_name_XC_SEO','XC SEO','Modules');INSERT INTO xcart_languages (code,name,value,topic) VALUES ('US','option_title_XC_SEO','XC SEO options','Options');INSERT INTO xcart_languages (code,name,value,topic) VALUES ('US','opt_xcseo_keyword_injection','Specify a keyword to inject into rewritten urls','Options'); If so, 1. Where do we do this? 2. Do we do it before installation or after installation? |
Re: XC SEO v1.1.0 Released
@ecommerce: my pleasure ;-)
Regarding the SQL patch, the SQL that you just referenced SHOULD be in the install documentation. Yes, that SQL needs to be executed (once) to ensure that XC SEO is installed into your X-Cart database. Be sure to follow the steps in the install docs, and refer back to this thread for the current Froogle fix. (on page 2 I believe) @mrkenzie: I apologize, I missed your post. Another user has already switched from DSEFU to this mod, but I would not recommend switching just yet, otherwise users & search engines may experience issues accessing your products/categories (or they may even encounter duplicate content). in the near future, I'll implement support for users migrating from the other SEO modifications, I'd suggest that you wait until then, so that you don't lose any PR for your site |
Re: XC SEO v1.1.0 Released
Will this mod in any way slow down the website?
If I donwload the addon today, do I still need to apply the patch for 4.0.18? |
Re: XC SEO v1.1.0 Released
As of the current release, 1.1.1, the install instructions are accurate, with the exception of the Froogle modification (which means you can ignore posts about the SQL patches being wrong). Please refer to page 2 of this thread for those details.
The installation instructions will tell you to apply 4 or 5 SQL commands, just follow the instructions and you should be fine. Regarding the speed of websites, please check the first post to see sites that are running this modification. In my experience, any speed decrease is negligible. |
Re: [MODULE] XC SEO v1.1.1 Released
Quote:
Hello. I tried to download this file but I get a error message: The compressed file is invalid or currupted. Can you tell what I am doing wrong? Jose |
Re: [MODULE] XC SEO v1.1.1 Released
Intel352 i have tried this on a unix server http://www.system-maintenance.com/maint/home.php and is OK, then i tried it on a NT server on another one of my sites at http://www.shisha.co.uk/shopcart/home.php and i am getting a 404 error when clicking on any product item or cat. I have turned this off in the module section at the moment as i dont want to loose any sales.
When turned on you can see the full path ending in html but once clicked goes to the 404 error (Page can not be displayed) Has anyone else had this problem on a NT server ? X-Cart 4.0.19 PHP 4.3.6 MySQL server 4.0.18-nt MySQL client 3.23.49 Web server Microsoft-IIS/5.0 Operation system Windows Perl 5.006001 XML parser (expat) 1.95.6 |
Re: [MODULE] XC SEO v1.1.1 Released
Quote:
The mod requires mod_rewrite which is an apache module. If you are using IIS it won't work. |
Re: [MODULE] XC SEO v1.1.1 Released
After installing this mod my catalog generator makes all my html files in 0 bytes.
Also my Embedded static pages and root static pages does not generate html or cant find them. Get "You are not authorized to view this page". On all my products I get this : Gone The requested resource /product.php is no longer available on this server and there is no forwarding address. Please remove all references to this resource. |
Re: XC SEO v1.1.0 Released
@jose - try downloading again, try using a different browser. the download works fine for other users, so I recommend just keep trying.
@shisha - you have to have a REWRITE mod installed for IIS. This post links to a few solutions: http://www.petefreitag.com/item/286.cfm @tron - there's no point in having a catalog if you use this mod. the intention of this mod is to provide html urls dynamically. Additionally, regarding your product.php issue, that suggests that in your htaccess file you have blocked access to product.php |
Re: XC SEO v1.1.0 Released
For windows servers, you might want to try to install the following so you can use this mod:
ISAPI Rewrite: http://www.isapirewrite.com/ or IISMODS: http://www.iismods.com/url-rewrite/index.htm Either of them have the same functionality as mod_rewrite, but I don't know if the code would need to be changed. They need to be installed on the server. |
Re: XC SEO v1.1.0 Released
I don't think the code should need to be changed, but again, I don't have a windows server to test on. Either way, if someone installs rewrite on IIS and has issues with the rules, I'll work with you to help you get it sorted out.
|
Re: XC SEO v1.1.0 Released
On Sound Choice Store, I've implemented a simple Search url rewrite, along with a small mod to display Recent Searches. would anyone be interested in this functionality? If not, I'll leave the search url rewrite *out* of the mod
For Recent Searches, look at the left side column. |
Re: XC SEO v1.1.0 Released
Quote:
As long as it's an option, i see no reason not to add it as long as the code is already written. It will help keep your code and the project code the same so it's easier to keep updating too. |
Re: XC SEO v1.1.0 Released
It's not an option yet, but will be ;-)
|
Re: XC SEO v1.1.0 Released
Does this work for Hebrew characters (in the url rewrite)? I have been using dsefu and I had to use the sku number in my hebrew products and category names because it wasn't working properly.
Thanks Gitty |
Re: XC SEO v1.1.0 Released
ha, that's a good question. currently the mod replaces accented characters with their non-accented equivalent, and that's the extent of any "language" support.
if you can give me examples to work with, I could try to work up a solution for you. |
Re: XC SEO v1.1.0 Released
I'm getting some errors at Google Base with the Froogle export. Google Base dosesn't like apostrophes or trademark characters (R) TM (C). This only showed up after installing this mod.
|
Re: XC SEO v1.1.0 Released
I also have the problem on the froogle export.
i did notice and modify the bugs in page 2 ( if ($seo_enable){ ) however, after changed the code. all the froogle export will included the html code (suppose it should be strip out) 2ndly, it is working fine when using NONE module versoin of XC SEO. is there any bug fix for that? |
All times are GMT -8. The time now is 04:45 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.