Post by ecommercesussexltd » Mon Jun 16, 2014 10:43 pm

Hi Everyone,
I have nearly 100 categories, at most, they are 3x levels deep.

I've noticed on my Analytics that people are arriving on urls that shouldn't exist.

The breadcrumbs show the product in a category that it's not in.

If I copy and paste the URL, I can indeed load the page for the product in a random place that has no relevance to the categories that it's actually been assigned to.

Where do I even start to debug this?


Posts

Joined
Mon Jan 06, 2014 8:45 am

Post by cwswebdesign » Tue Jun 17, 2014 10:53 am

A site URL would be helpful. Is canonical URL working properly?

DL

This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.

Thanks!


User avatar
Active Member

Posts

Joined
Sun Dec 11, 2011 12:26 am
Location - USA

Post by billynoah » Sat Jun 21, 2014 11:22 pm

Breadcrumbs in OpenCart are built off of the url. Unfortunately OpenCart doesn't offer a heck of a lot in terms of url validation - a topic which I've posted about in the past but which received little interest. You are correct in that theoretically a url path like:

mystore.com/categorya/categoryb/product

should only be valid if the product actually belongs in both of those categories. I wrote a little url validation vqmod a while back but it doesn't validate products against relevant categories, only a very basic sequence of allowed path rules.

Perhaps I'll work on this a bit more so it's actually useful. Feel free to bug me as it's been something I've been wanting to finish for a while.

Image


Active Member

Posts

Joined
Tue Jan 15, 2013 12:46 pm

Post by billynoah » Sun Jun 22, 2014 12:52 am

I went ahead and finished this as I'm pretty sure it would be useful to a great many. I've only done preliminary testing, please let me know if there are any bugs!

EDIT: As I continue to work out the bugs, I'm just gonna post this link here for another thread which contains the most up to date version of this
http://forum.opencart.com/viewtopic.php?f=131&t=127057

Image


Active Member

Posts

Joined
Tue Jan 15, 2013 12:46 pm
Who is online

Users browsing this forum: No registered users and 12 guests