Zen Cart Logo
Forums / All Other Contributions/Addons / Simple SEO URL (OLD version) [support thread]

Simple SEO URL (OLD version) [support thread]

Views: 1,113,764

Results 1,281 to 1,300 of 5,058
12 Nov 2008, 2:26 AM
#1281
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Simple SEO URL (OLD version) [support thread]

This bug appears on 3.3.5 with multi language off. This fix will be in 3.3.6. Thanks all for reporting this.

Regards

12 Nov 2008, 2:39 AM
#1282
imperialis avatar

imperialis

Zen Follower

Join Date:
Apr 2008
Posts:
123
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

I tried installing this mod and I don't know what I have done but I haven't done something right any help greatly appreciated

12 Nov 2008, 2:41 AM
#1283
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

imperialis:

I tried installing this mod and I don't know what I have done but I haven't done something right any help greatly appreciated
Let us know more details:

SSU version you are trying to install? PHP version?

Did you follow the steps here:
http://wiki.rubikintegration.com/zencart/modules/ssu/installation

It is important to follow 1 by 1

If you did, and getting errors, please post the errors here.

12 Nov 2008, 2:45 AM
#1284
imperialis avatar

imperialis

Zen Follower

Join Date:
Apr 2008
Posts:
123
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

The latest version, I didn't know there was instruction ha! I shall read those first and see if I can figure out what I've done

12 Nov 2008, 3:19 AM
#1285
imperialis avatar

imperialis

Zen Follower

Join Date:
Apr 2008
Posts:
123
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

I'm a tad confused about the mod rewrite enabled

12 Nov 2008, 3:21 AM
#1286
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

imperialis:

I'm a tad confused about the mod rewrite enabled
Usually, if you are on a Linux server running Apache, this is enabled by default (90%). If you want to make 100% sure, I think in the installation note there is a link to an article that shows you how to check that.

12 Nov 2008, 3:49 AM
#1287
imperialis avatar

imperialis

Zen Follower

Join Date:
Apr 2008
Posts:
123
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

when I go to extras, ssu I get this

Failed: 1
ERROR: Cannot create table module_version_tracker because it already exists
Note: 1 statements ignored. See "upgrade_exceptions" table for additional details.
Failed to set up version tracker table
9 statements processed.
Upgraded database to patch level 0
3 statements processed.
Upgraded database to patch level 1
3 statements processed.
Upgraded database to patch level 2
4 statements processed.
Upgraded database to patch level 3
4 statements processed.
Upgraded database to patch level 4
3 statements processed.
Upgraded database to patch level 5

12 Nov 2008, 4:05 AM
#1288
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

If you refresh and see no more message, that means you are good to go. (BTW, judging from the patchs, I suspect you are using 2.9.6, the latest stable version?)

12 Nov 2008, 6:06 AM
#1289
imperialis avatar

imperialis

Zen Follower

Join Date:
Apr 2008
Posts:
123
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

this is what I have now

Failed: 1
ERROR: Cannot create table module_version_tracker because it already exists
Note: 1 statements ignored. See "upgrade_exceptions" table for additional details.
Failed to set up version tracker table

12 Nov 2008, 6:07 AM
#1290
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Not a very serious error and very easy to fix

TROUBLESHOOTING: After installing itself, this module writes a file named ".keep" in admin\includes\module_installation, if your server doesnt allow it to do so, it may make the module attempting to install itself everytime. The fix is easy though, just manually create a .keep file there (after the module has already installed itself, of course)

12 Nov 2008, 2:40 PM
#1291
chris_rama avatar

chris_rama

New Zenner

Join Date:
Jun 2008
Posts:
11
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Some feedback on v.3.3.6

After running on a test site for a while it seems that everything works for me. Still, "zenid" sometimes appears in the links(it is excluded in ssu settings). And product types didn't work for me originally - I had to manually edit products.php parcer to fix. Link alias - is the best software invention in human history ever!!! :clap: Thanks a lot, great feature indeed.

After some testing, installed it on my live site. http://www.FramesCity.com No other problems found so far

12 Nov 2008, 2:45 PM
#1292
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Chris Rama:

Some feedback on v.3.3.6

After running on a test site for a while it seems that everything works for me. Still, "zenid" sometimes appears in the links(it is excluded in ssu settings). And product types didn't work for me originally - I had to manually edit products.php parcer to fix. Link alias - is the best software invention in human history ever!!! :clap: Thanks a lot, great feature indeed.

After some testing, installed it on my live site. http://www.FramesCity.com No other problems found so far
Zenid must be there in the first visit, so it is not really a bug.

But product type not working is a bug, let me know what did you do to fix it.

Regards

12 Nov 2008, 5:05 PM
#1293
chris_rama avatar

chris_rama

New Zenner

Join Date:
Jun 2008
Posts:
11
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

I have custom product types defined. In the old SSU there was init_ssu.php with this code:

	function simple_seo_url(){
		// This is here to support multiple product types shorthand links
		// if you want to add support for your custom type, first you have to go to your database and check table products_types
		$this->products_handlers = array('1'=> 'product_info',
										 '2'=> 'product_some_info',
									  	 '3'=> 'product_some_other_info',
									     '4'=> 'document_product_info',
									  	 '5'=> 'product_free_shipping_info'
									  	);
		$this->products_identifiers = array('1'=> SSU_ID_DELIMITER.'p'.SSU_ID_DELIMITER,												
									  		'2'=> SSU_ID_DELIMITER.'m'.SSU_ID_DELIMITER,
									  		'3'=> SSU_ID_DELIMITER.'e'.SSU_ID_DELIMITER, 
									 		'4'=> SSU_ID_DELIMITER.'d'.SSU_ID_DELIMITER, 
									 		'5'=> SSU_ID_DELIMITER.'f'.SSU_ID_DELIMITER
									  		);

Editing this worked ok. The link contained a correct products_identifiers

After upgrading to 3.3.6 editing this part of config.php:

'identifiers'	=>	array(	'products'		=>	array(	'product_info'					=>	'p',
															'product_some_info'			=>	'e',
															'product_some_other_info'			=>	'm',
															'document_product_info'			=>	'd',
															'product_free_shipping_info'	=>	'f',
															'document_website_info'			=>	'w',

didn't have any affect. 'p' kept appearing in all product links and product types were not switching. All product displayed under "product_info" type template. Maybe i missed something in the upgrade process, could be.

I didn't go deep into figuring out how parsers work, but editing "getName" function in products.php helped my case. i replaced the "$identifiers[self::$main_page]" with a small "case ..." structure with correct identifiers. This is a weird way to fix this i guess

yellow1912:

Zenid must be there in the first visit, so it is not really a bug.

Got ya. I wasn't sure about the purpose of zenid.

12 Nov 2008, 7:35 PM
#1294
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

A bug it is, but the fix is much more simpler. I have updated the products.php parser for you here.

I will also update SSU to add this fix. Thank you very much for letting me know the bug and the solution.

PS: anyone who is using 3+ version is encouraged to upgrade to 3.3.7 to have the latest fixes, but some of these bugs wont affect your site unless:

  1. You are not using multi language mode(fixed in 3.3.6)
  2. You are not using any other product types (other that the default general one) (fixed in 3.3.7)

@ Chris Rama: changing local.config.php will be better than changing the default config file btw. In later versions I will not include local.config.php in there so this file will not be overwriten when you upgrade.

12 Nov 2008, 9:51 PM
#1295
chris_rama avatar

chris_rama

New Zenner

Join Date:
Jun 2008
Posts:
11
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

While torturing my test site, i've noticed another thing: Old SSU took care of inappropriate symvols when converting product name to url. If a product name contained commas, brackets and stuff like that, it ignored that in order to make clean url. The 3.3.x just passes that along into the link. Some sort of a bug too

12 Nov 2008, 9:55 PM
#1296
chris_rama avatar

chris_rama

New Zenner

Join Date:
Jun 2008
Posts:
11
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Also i had a test product with a blank name. in Old SSU the link looked like [category]/-p-[product_num] . The 3.3.x converts it differently [category]/product_name-p-[product_num]

12 Nov 2008, 10:25 PM
#1297
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Chris Rama:

Also i had a test product with a blank name. in Old SSU the link looked like [category]/-p-[product_num] . The 3.3.x converts it differently [category]/product_name-p-[product_num]
This is a more appropriate way to handle it (from my pov), instead of leaving a blank field there.
SSU 3+ leaves much parsing job in your hand (since removing non alphanumeric characters can destroy the names of those sites that use multi-lang names). But I will make sure those names are handled more properly in the future.

13 Nov 2008, 1:28 AM
#1298
mike_dean avatar

mike_dean

Totally Zenned

Join Date:
Feb 2006
Location:
Central Coast, NSW, Australia
Posts:
531
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

yellow1912:

This is the old-style link:
http://site.com/this-is-a-cat-c-1/great-product-p-1

This is the alias:
http://site.com/this-is-a-cat/great-product

Or it can even be this:
http://site.com/october-promotion

I will have to come up with a solution, somehow. All suggestions are welcome.

Raine

Hi Yellow...

I've just added this mod to my test site and configured..

Just a question
I take it from your post (as quoted above) that the product ID still has to reside in the link until you can find a fix ?

Great work btw..

13 Nov 2008, 1:51 AM
#1299
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

No, it doesnt have to be in the links (Assuming you are using 3.3.7)

You can use link-alias to do that. The only drawback is that you have to do it manually for each link.

13 Nov 2008, 1:56 AM
#1300
mike_dean avatar

mike_dean

Totally Zenned

Join Date:
Feb 2006
Location:
Central Coast, NSW, Australia
Posts:
531
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

yellow1912:

No, it doesnt have to be in the links (Assuming you are using 3.3.7)

You can use link-alias to do that. The only drawback is that you have to do it manually for each link.

Ouch.. that could take a while, I have 400+ products... they might have to stay there !!!!