Zen Cart Logo
Forums / All Other Contributions/Addons / Ultimate SEO URLs Does Not Work with Categories with Only One Product

Ultimate SEO URLs Does Not Work with Categories with Only One Product

Locked

Views: 2,015

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
16 Oct 2008, 10:26 PM
#1
hossbronco avatar

hossbronco

New Zenner

Join Date:
Aug 2007
Posts:
10
Plugin Contributions:
0

Ultimate SEO URLs Does Not Work with Categories with Only One Product

I'm sorry if this is posted elsewhere, but I can't find it. My Ultimate SEO URLs mod works just fine, except for the fact that if a category only has one product in it, the link to that category takes me to a blank page. That is, the entire screen (minus the menu bars) turns white. I assume this is because when you click on the category in this circumstance, it attempts to open that product's description instead of a list of products. How do I fix this?

16 Oct 2008, 11:11 PM
#2
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,284
Plugin Contributions:
37

Re: Ultimate SEO URLs Does Not Work with Categories with Only One Product

By default Zen Cart is set to skip one product categories.

If the page is not redirecting to the product page in this case then you have likely edited a language file and left a hard break (empty line) on the bottom.. and their should be none.

If the category pages as a whole are not displaying... same as above.

First, set
Configuration >> Layout Settings >> Skip 1-prod Categories

to FALSE and check if the category page in question now loads.

If it does, you have made an error.. as I said above likely in a related language file and it is inhibiting the redirect.

I would start with this.

~Melanie

16 Oct 2008, 11:21 PM
#3
hossbronco avatar

hossbronco

New Zenner

Join Date:
Aug 2007
Posts:
10
Plugin Contributions:
0

Re: Ultimate SEO URLs Does Not Work with Categories with Only One Product

Thanks, Melanie. I changed the setting and the list comes up. However, I'm not sure that I ever modified the language file, at least not recently. Is this possibly an Ultimate SEO URL error? If not, what files are the most likely culprits?

16 Oct 2008, 11:24 PM
#4
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,284
Plugin Contributions:
37

Re: Ultimate SEO URLs Does Not Work with Categories with Only One Product

I would bet a bunch, this is NOT an SEO url problem.... as redirects happen outside of your Zen Cart at the account config level.

You have an error in the redirect function.

Try debugging

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=860

~Melanie

16 Oct 2008, 11:30 PM
#5
hossbronco avatar

hossbronco

New Zenner

Join Date:
Aug 2007
Posts:
10
Plugin Contributions:
0

Re: Ultimate SEO URLs Does Not Work with Categories with Only One Product

Thank you. I'll try that out. I do also have one more question. I have a related thread that deals with directing one subcategory to another. Could you please take a look at it if you have a second?

http://www.zen-cart.com/forum/showthread.php?t=110700

Thank you very much again. You've been very helpful!:clap:

17 Oct 2008, 3:03 AM
#6
hossbronco avatar

hossbronco

New Zenner

Join Date:
Aug 2007
Posts:
10
Plugin Contributions:
0

Re: Ultimate SEO URLs Does Not Work with Categories with Only One Product

By the way, if anyone might be able to narrow these files down for me, please post.