Quote Originally Posted by Ajeh View Post
That could be bad master_categories_id in the products ...

That could be bad records in the products_to_categories table ...

That could be incorrect parent_id in the categories table ...

There are a lot of things that could lead to this and without review of the database it is hard to say ...
Thanks Ajeh, I had that inkling it may have something to do with bad database records. Will take a look at the live DB and compare it to an earlier backup, may find some clues

Note: other methods could be incorrect $cPath being generated for sideboxes, centerboxes, listings, etc. where the $cPath is wrong and generates an incorrect URL based on what it "attempts" to do rather than what it should be ...
Unlikely as no changes / additions have been made for quite some time.

I have seen that before but I have never pinpoint a specific cause in a clean Zen Cart v1.3.9 to reproduce the problem ...
That's the hard part ....

Note: once a search engine has added an URL with a bad $cPath ... it can follow it and reach a page ... the page may have a moofy breadcrumb, but there is not an error so the search engine has no idea that it is "technically" an incorrect URL ...
Yeah, they still end up at the 'right' page, so in that respect I am not worried at all. I am, however, concerned that 'things ain't quite right'. A comparison of the DB with a backup may or may not reveal anything.

Thanks again - I will keep you posted.