Re: Simple SEO URL [support thread]
Hi Yellow,
Thanks for the great mod. I had one question for you and it deals with the Ask a Question mod and this one. so if you can't help, I completely understand.
I am using a custom product type so the url created appears as:
(my site)/product_ring_info <- the name of the custom product type
However, when a customer uses the Ask a Question mod, in the email we receive, the url that links back to the product leaves out the product type. Therefore when we follow the url it doesn't work (eventually we get a redirect error and a blank screen).
Are you familiar enough with the Ask a Question mod to know how the url is generated?
P.S. Its not on my site listed below, but I can post a link to the new site if you want see the Ask a question mod in action
Re: Simple SEO URL [support thread]
If it uses a custom product type, you can tell SSU about that product type
Which version are you using? For 3+ please look into includes/classes/ssu/config.php and see how the product type is configured. Now edit the local.config.php in the same folder and add your new product type, example:
PHP Code:
<?php
/**
* @package Pages
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: local.config.php.example 149 2009-03-04 05:23:35Z yellow1912 $
*/
$ssuLocalConfig = array(
'identifiers' => array( 'products' => array( 'new_product_info' => 'new'))
);
'new_product_info': your new product type
'new': identifier in the link, doesnt have to be a single letter.
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
yellow1912
Possible, you will have to use link-alias. However, it's not done automatically yet, so if you have a limited number of categories/products it will be easy, but if you have too many it will take lots of time.
Less than 3 months ago, and this has been implemented + automated. Seriously, you're amazing yellow. :clap:
Some of my product categories contain more than 10 items, which pushes it to page 2 and makes the URL partially ugly. Is there a setting in ZC to specify how many products are listed on each page of the category?
Re: Simple SEO URL [support thread]
Yes, you can. I believe it is under admin - config - product listing for the category listing pages.
Also, check http://wiki.rubikintegration.com/zen...les/ssu/config and make sure you have put all the exclude items in place.
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
yellow1912
All the exclude items were already in place.
Still have not been able to find where to increase the number of products listed per category.
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
bobthemolder
All the exclude items were already in place.
Still have not been able to find where to increase the number of products listed per category.
How about admin/configuration.php?gID=3
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
yellow1912
How about admin/configuration.php?gID=3
Yeah that was it --
Quote:
Originally Posted by
bunyip
Admin > Configuration > Maximum Values > Products Listing- Number Per Page
I think I'm finally ready to take my zencart subdirectory off the block list for robots :flex:
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
yellow1912
If it uses a custom product type, you can tell SSU about that product type
Thanks for the fast response.
I recently installed it so I believe we are using the most recent version.
I did exactly like you stated and created the local.config.php with the following info
HTML Code:
<?php
/**
* @package Pages
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: local.config.php.example 149 2009-03-04 05:23:35Z yellow1912 $
*/
$ssuLocalConfig = array(
'identifiers' => array( 'products' => array( 'product_ring_info' => 'pr'))
);
But when I save it, it strips away the: /product_ring_info/ from the product url, it still shows -p- at the end of the url, and it gives me a redirect error.
Is there something else I need to edit?
Thanks in advance for your help.
Re: Simple SEO URL [support thread]
Did you clear SSU cache after the edit? And if possible can you pm me the link to this page?
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
yellow1912
Did you clear SSU cache after the edit? And if possible can you pm me the link to this page?
Hi Yellow1912
Its a live site (although still under construction) so I can't leave it on. I just cleared to cache but it still didn't work.
Here is a link to the site:
http://www.ashadiamonds.com/
Here is an example. This url
http:/ashadiamonds.com/product_ring_info/round-asha-classic-or-prong-tiffany-solitaire-ring-p-301
Would become this url:
http:/ashadiamonds.com/round-asha-classic-or-prong-tiffany-solitaire-ring-p-301