[Contribution] SEO-G
#81
Posted 27 April 2007, 17:09
- Improved parameters filtering when seo links are generated. Empty paths are now truncated.
- Added manufacturers specific string for the osc admin.
- Removed unused strings from the seo_zones.php
http://www.oscommerce.com/community/contributions,5080
#82
Posted 27 April 2007, 20:09
enigma1, on Apr 27 2007, 06:09 PM, said:
- Improved parameters filtering when seo links are generated. Empty paths are now truncated.
- Added manufacturers specific string for the osc admin.
- Removed unused strings from the seo_zones.php
http://www.oscommerce.com/community/contributions,5080
Mark
I ahve installed this mod and it is awesome - I have a problem though
When I set the mod to on in admin I get a product_info.html file and it only goes to one product (the same one) whatever product I click
What have i done wrong here?
Thanks
Mark
Mark A Reynolds
#83
Posted 27 April 2007, 20:29
Quote
With all of the new programs that are being added to browsers and anti-virus programs to combat Phishing, I wonder if using programs like SEO-G to manipulate addresses will ever be a problem. Also, I wonder what the search engine algorithms think about changing the URL content this way? I know it is all done on the server and that right now these issues are apparently not a problem but do you think any of these things will ever become an issue?
Thanks for all of your hard work. It makes changing sites from static to dynamic possible without losing all SE rankings in the process.
#84
Posted 27 April 2007, 20:30
Quote
I ahve installed this mod and it is awesome - I have a problem though
When I set the mod to on in admin I get a product_info.html file and it only goes to one product (the same one) whatever product I click
What have i done wrong here?
Thanks
Mark
do you have another seo module installed at the same time? What shows under the reports page? I assume you went through the configuration process, setting up categories, products, manufacturers first. Also did you leave the defaults? or you changed the G-Types?
In any case I am trying here to replicate the issue, I injected the product_info.html but it creates a separate link alltogether so individual products working as expected. This is what I see from the reports here:
Quote
http://enigma1.oscommerce.com/unnamed5/pro...p?products_id=1 http://enigma1.oscommerce.com/unnamed5/pro...x-g200-mms.html
http://enigma1.oscommerce.com/unnamed5/pro...p?products_id=2 http://enigma1.oscommerce.com/unnamed5/pro...x-g400-32mb.htm
http://enigma1.oscommerce.com/unnamed5/pro...?products_id=25 http://enigma1.oscommerce.com/unnamed5/pro...board-ps-2.html
http://enigma1.oscommerce.com/unnamed5/pro...?products_id=21 http://enigma1.oscommerce.com/unnamed5/pro...ers-battle.html
http://enigma1.oscommerce.com/unnamed5/pro...p?products_id=6 http://enigma1.oscommerce.com/unnamed5/pro...the-matrix.html
......................
Edited by enigma1, 27 April 2007, 20:31.
#85
Posted 27 April 2007, 20:48
Quote
Quote
These names are used for the final link generation. If you look the reports page the SEO-G url must be unique. However you could have different SEO-G urls that point to the same osC URL. This happens for instance if you change a product's name from the G-Controller and that product is already included in the report with a different name. Another SEO link will be generated but point to the same url effectively.
Quote
Quote
Edited by enigma1, 27 April 2007, 20:49.
#86
Posted 27 April 2007, 21:07
Excellent piece of work! One small thing is the pages are wider and it throws my pages out
You can see what I mean here then click on the home link
Also the popup image is not working
Edited by crash3903, 27 April 2007, 21:11.
Mark A Reynolds
#87
Posted 27 April 2007, 21:14
crash3903, on Apr 27 2007, 10:07 PM, said:
Excellent piece of work! One small thing is the pages are wider and it throws my pages out
You can see what I mean here then click on the home link
Also the popup image is not working
cancel the popup problem resolved by switching to safe mode true
Mark A Reynolds
#88
Posted 27 April 2007, 21:18
crash3903, on Apr 27 2007, 04:07 PM, said:
Excellent piece of work! One small thing is the pages are wider and it throws my pages out
You can see what I mean here then click on the home link
Also the popup image is not working
Ok I checked it everything looks good. I am using IE6. I do not see the pages getting wider or anything. The popup image also works. It is not translated.
#89
Posted 27 April 2007, 21:24
enigma1, on Apr 27 2007, 10:18 PM, said:
OK thanks for checking
IN IE7 the boxes are getting thinner when i go to a product page
Maybe this does not show up in ie6 but i use firefox and it is doing the same in there
Try going to a link from the shop by price box on the left
Thanks
Mark
Edited by crash3903, 27 April 2007, 21:26.
Mark A Reynolds
#90
Posted 27 April 2007, 21:35
crash3903, on Apr 27 2007, 04:24 PM, said:
IN IE7 the boxes are getting thinner when i go to a product page
Maybe this does not show up in ie6 but i use firefox and it is doing the same in there
Try going to a link from the shop by price box on the left
Thanks
Mark
<td width="125" valign="top"><table border="0" width="125" cellspacing="0" cellpadding="2">
<!-- left_navigation //-->
while the shop by price page shows
<td width="200" valign="top"><table border="0" width="200" cellspacing="0" cellpadding="2">
<!-- left_navigation //-->
so that means you did not copy the part of your application_top.php in the root.php as it was explained in the document. If you don't have any other changes in that section simply change the BOX_WIDTH definition to match the 200 (in root.php). In any case the section that shows in catalog\includes\application_top.php between:
//-MS- SEO-G Added
if( !isset($g_seo_flag) || $g_seo_flag !== true) {
and:
//-MS- SEO URLs Support Added require(DIR_WS_CLASSES . 'seo_url.php'); $g_seo_url = new seoURL; //-MS- SEO URLs Support Added EOM } //-MS- SEO-G Added EOM
should be the same in root.php. You can double check that.
#91
Posted 27 April 2007, 21:40
Because I am tired and and I have not paid attention to what are simple instructions - This is now showing perfect - This beats Chemos hands down all the way! (Sorry Chemo if you are reading this)
Excellent work Mark!!
Thanks again!
Mark A Reynolds
#92
Posted 27 April 2007, 22:12
enigma1, on Apr 26 2007, 01:50 PM, said:
Alright, apparently everything wasn't perfectly right. I now have about twelve of each switch in my admin. Could this be because I ran the mysql script too many times? Any thoughts? Here's a screenshot of it:
http://www.geekfitters.com/seogpic.JPG
Thank you in advance!
Chris
#93
Posted 27 April 2007, 23:26
chrisgeek, on Apr 27 2007, 05:12 PM, said:
http://www.geekfitters.com/seogpic.JPG
Thank you in advance!
Chris
Yes the configuration settings should be run once. If you need to upgrade then theoretically you should remove the configuration switches first (one by one) using phpmyadmin.
There is an alternative.
http://www.oscommerce.com/community/contributions,5040
You could install it and then run the configuration options select the remove duplicates and it will remove an extra set. You have to run it few times in your case till the list comes up clean. You should also backup your database before installing it.
#94
Posted 27 April 2007, 23:29
enigma1, on Apr 27 2007, 01:48 PM, said:
Quote
Quote
FYI -In the readme file, the classes folder is missing in the path of # 5. catalog\admin\includes\classes\split_page_results.php
#95
Posted 27 April 2007, 23:37
#96
Posted 27 April 2007, 23:41
WebbyIT, on Apr 27 2007, 06:29 PM, said:
In the current website I am remodeling there are both .htm and .html ext. Can I manually change any ext. as long as it's not to .php? If so, where would I change it?
FYI -In the readme file, the classes folder is missing in the path of # 5. catalog\admin\includes\classes\split_page_results.php
Thanks for the readme note it will be updated with the next version.
for the extension you change it in 2 different places.
1. In catalog\.htaccess your rewrite rule could be:
RewriteRule ^(.*).xml$ root.php?%{QUERY_STRING}
or
RewriteRule ^(.*).asp$ root.php?%{QUERY_STRING}
or
RewriteRule ^(.*).htm$ root.php?%{QUERY_STRING}
2. And then in osc Admin->SEO-G->Configuration you change the SEO-G Extension to
.xml
or
.asp
or
.htm
respectively
You can put whatever extension you like. You can even modify the htaccess rule to support multiple extensions like you expose a cfm and an asp server at the same time, alhough in reality you're on php. (new links generation follow the SEO-G configuration setting).
Edited by enigma1, 27 April 2007, 23:43.
#97
Posted 27 April 2007, 23:45
WebbyIT, on Apr 27 2007, 06:37 PM, said:
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added, use_function, set_function) VALUES ('SEO-G Safe Mode', 'SEO_DEFAULT_SAFE_MODE', 'true', 'Controls if SEO-G urls are generated on non-handled parameters. When false SEO-G generates friendly urls regardless of parameters passed with the links. When true generates links for the handled parameters only. (ex: products_id, cpath etc).', '24', '5', now(), NULL, 'tep_cfg_select_option(array(''true'', ''false''),');
#98
Posted 28 April 2007, 00:34
crash3903, on Apr 27 2007, 04:40 PM, said:
Because I am tired and and I have not paid attention to what are simple instructions - This is now showing perfect - This beats Chemos hands down all the way! (Sorry Chemo if you are reading this)
Excellent work Mark!!
Thanks again!
http://forums.oscommerce.com/index.php?showtopic=217527
Perhaps there are personal differences among members, however the more of the experts you have onboard the faster this community grows. And this benefits everyone. The ultimate SEO URLs represents another step forwards for the osCommerce engine and consequently for us.
#99
Posted 28 April 2007, 01:20
WebbyIT, on Apr 27 2007, 12:06 AM, said:
AuthType Basic
AuthName "OS Commerce Administration"
AuthUserFile "/home/user/.htpasswds/admin/passwd"
require valid-user
Is this how the code you added to catalog .htaccess looks?
#-MS- SEO-G Added
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^(.*).html$ root.php?%{QUERY_STRING}
#-MS- SEO-G Added EOM
#100
Posted 28 April 2007, 01:48
PublicWholesaler, on Apr 27 2007, 06:20 PM, said:
Is this how the code you added to catalog .htaccess looks?
#-MS- SEO-G Added
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^(.*).html$ root.php?%{QUERY_STRING}
#-MS- SEO-G Added EOM














