havenswift-hosting Posted January 29, 2021 Share Posted January 29, 2021 Following an upgrade from 6.2.8 to 6.4.2 seeing the following issue in a standard core site with no plugins. If a site has "Add category to product URL path?" SEO store setting set to "top level and all sub-categories" and it seems to be adding the category path again and again for each sub-category level ! This setting isnt often used and most stores have this setting set to "No" On a newly created product this is the url that was generated. https://www.domain.co.uk/terrain/terrain/6mm/terrain/6mm/walls-fences/terrain/6mm/walls-fences/brick-walls/terrain/6mm/walls-fences/brick-walls/high/100mm-damaged-high-brick-wall-straight-2-test.html This should be https://www.domain.co.uk/terrain/6mm/walls-fences/brick-walls/high/100mm-damaged-high-brick-wall-straight-2-test.html So for each sub-category, it is adding the preceding category path again so for "6mm" sub-cat it is adding "terrain" again before it for "walls-fences" sub-cat it is adding "terrain/6mm" again before it for "brick-walls" sub-cat it is adding "terrain/6mm/walls-fences" again before it for "high" sub-cat it is adding "terrain/6mm/walls-fences/brick-walls" again before it Does anyone else have this same SEO configuration and are you seeing the same issue. Havent traced it through yet but the seo.class had changes made to it while adding the redirect functionality for 6.4 Link to comment Share on other sites More sharing options...
bsmither Posted January 29, 2021 Share Posted January 29, 2021 I can look into this as well. In CubeCart_seo_urls, what is the 'path' for category 'high', and what is the 'path' for product '100mm-damaged-high-brick-wall-straight-2-test.html'? Link to comment Share on other sites More sharing options...
bsmither Posted February 1, 2021 Share Posted February 1, 2021 Do you have a sequence of steps I am to follow to try and replicate your observation? Link to comment Share on other sites More sharing options...
bsmither Posted February 2, 2021 Share Posted February 2, 2021 So far, I'm not finding a path of code execution that would result in what you have observed. Link to comment Share on other sites More sharing options...
adamfrey Posted February 11, 2021 Share Posted February 11, 2021 Seems like my recent upgrade is also doing the same thing...so following this. Link to comment Share on other sites More sharing options...
bsmither Posted February 11, 2021 Share Posted February 11, 2021 I think I have this figured out. The short solution is to manually enter the path you want to use, because the corrupted paths do show up on the Category edit screen - at least on my system, they do. Thus, they can be overwritten. Link to comment Share on other sites More sharing options...
adamfrey Posted February 11, 2021 Share Posted February 11, 2021 So should I update all the categories? Sorry to be unaware...BTW, I think they need a "Tip" on here!!! Or do I need to run a "re-build the sitemap?" or Clear the SEO? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.