If ZenCart didn't use canonical links, Google would treat them as duplicate pages. You will effectively be competing with yourself for rankings.
I've already said this in another thread, but this is bad news waiting to happen. Spaces should NOT be used for category or filenames. Replace them with a hyphen or underscore (-_).
This is asking for even bigger problems - two spaces. Use 'gifts_for_her' instead.
Uhuh.
Google will index what it finds, where it finds them, so without the use of canonical links it will see the same content in multiple categories as duplicate content. Something to be avoided.
Google will see the site and any links exactly the same as a human would with a WebBrowser.
Unless *you* add rules for the blocking, then they won't be blocked from the bots.
Consider this: You have a product with the ID '1234'
The default category for this product has an ID of '45'
The URL to this product, in this category, will be something like
http://www.yourdomain.com/index.php?...oducts_id=1234
Now, lets assume you link this product to categoryID '67' - This same product will now have two URL's - the original, plus
http://www.yourdomain.com/index.php?...oducts_id=1234
Google will see these as being duplicate content (even though there will be a *minor* difference if breadcrumbs are enabled/shown).
Not enough for Google to see them as *different* pages/content.
If you allow this, one of them will be dropped from the search results. You have no say witch one will be penalised (google has no way of knowing which is the 'original' and which is the dupe.
This is where the canonical links come into play. When working (and by default, I think) - These links are created *without* the cPath (category) information - So using the product '1234' as an example, the canonical link for both of the example URL's will be identical, looking something like
http://www.yourdomain.com/index.php?...oducts_id=1234
This is the URL that will show up in the Google *results* (for any given query) - It is as though the category doesn't even exist and because Google now only 'knows' of the URL with no cPath, the product appears as being a single page with no dupes.
SO... on this basis, the ZenCart default behaviour *isn't* really what *you* want - Well, at least not what you are asking for.
If you want a search for "Gifts for Her" to show up in search results, then the text "Gifts for Her" needs to be found somewhere on the page. Having a category called 'gifts for her' will achieve this due to the breadcrumbs (as well as any meta data for the page), but this probably won't be enough for your site to outrank others with the same small mention of the phrase, especially since when Google 'views' the page without the cPath, the phrase/category name won't even appear as a breadcrumb (you can easily try/verify this yourself by editing your URL in your browser.
Now, if you *want* to help drive people to the 'gifts for her' *category* (rather than just the product) you will need to modify ZenCarts default behaviour so the canonical link it creates is the one to this particular category - IOW, it will need to look something like
http://www.yourdomain.com/index.php?...oducts_id=1234 (where category '45' == 'Gifts for her').
With this modification in place, when Google crawls the other category(s) with this same product, it will effectively 'ignore' all of the other categories in its search results and the link it will provide will be to the cPath=45 - IOW, it will help drive the *customers* to that category. The actual results of the search will remain the same.
In other words, a canonical link is telling google "Yes, I know my site contains duplicate content - but this (the canonical link) is the one I prefer you to use - All the other links pointing to the same product should be ignored".
If/when you consider that the only difference between the page *content* between two different URL's will be the content of the breadcrumb, one needs to ask themselves whether this this is going to make much of a difference to a sites ranking for that term or not.
I suspect that it will make *some* difference, but will it be enough to make the modifications worthwhile? I can't say.
Furthermore if we expand on this, and lets say you also want want something like 'Gifts for the Wife' to rank better, so you create a category of that name (ID '88') - linking the exact same products - You now have a dilema - Is your canonical link going to be
http://www.yourdomain.com/index.php?...oducts_id=1234 (where category '45' == 'Gifts for her'). or is it going to be
http://www.yourdomain.com/index.php?...oducts_id=1234 (where category '88' == 'Gifts for the Wife').
You can't have both - So how do you choose? In this case *I* would opt for 'gifts for her' because I *assume* that is going to be a more popular search query - Assumptions aren't good though. The 'niche' market seeking 'Gifts for the Wife' could be more beneficial to overall sales than the larger market of 'Gifts for her' - which I suspect has a lot of competition.
Does this adequately answer your question, or have I confused you. If I've manged to confuse you, my advice would be to leave things as they are, and let Zen create canonical links without the cPath, because any difference in rankings is going to be negligible, and the customers are going to be far more interested in the product rather than the category that you choose to drive them too.
Cheers
RodG
Bookmarks