Important
- For the pre-sale question, please feel free to contact us via live chat on Landofcoder.com ( From Monday to Friday 8:30 am - 5:30 pm GMT+7 ) or leave an offline message, we will give you a response asap.
- For technical questions, please submit a ticket below (recommended option) or send us an email via [email protected]. Our dev will support you within 24 hours since the submitted time (DO NOT support free extensions)
The Megamenu is dynamically pulling incorrect category URLs for the main menu items. It pulls the internal category urls like: https://www.artificialplantsunlimited.com/catalog/category/view/s/living-walls/id/143/ instead of the SEO urls: https://www.artificialplantsunlimited.com/green-walls.html
This issue comes and goes and seems to be periodically fixed by clearing cache. I don't know if this issue is caused by cron indexing urls or something else but it is a serious SEO issue
Hello Steve,
Have a nice day!
I see the problem seem because the category links of your site did not generated SEO rewrite links.
Or maybe the root category of your site was not set to right main website stores.
I just checked the site and see there links are correctly. Did you resolved it?
Hello, this problem comes and goes with no particular consistency. Enabling or disabling the menu cache will often cause the issue to be temporarily fixed on 1 or 2 of the domains and broken on 1 or 2 of the other domains (there are 4 sites configured in this multi-site Magento installation).
I have verified that each store has the correct root category assigned to it in Stores->All Stores.
I have also verified that each of the 4 menus for the different stores are set to the correct store view in Venustheme->Manage Menus.
Your suggestion "category links of your site did not generated SEO rewrite links" seems likely to be the issue although I do not know how to test this.
We are currently switching all of our megamenu links over to be static instead of dynamic since there are issues. So the problem may appear to be fixed - it is not and we would still like this corrected. Are you able to reproduce this issue or has it appeared in the past?
No, they are not being rewritten at all - we are using the static Custom Link type. See previous: "We are currently switching all of our megamenu links over to be static instead of dynamic since there are issues. So the problem may appear to be fixed - it is not". I have attached a screenshot of this menu setting i'm using as a workaround titled links-not-rewritten.jpg.
I want to be able to use the Category Link type but it does not properly rewrite urls. I have attached a screenshot of this menu setting title dynamic-category-link.jpg
I did a code comparison between the live StoreCategories.php and the file you supplied and they are identical. So this file will have no effect. I have supplied a screenshot of this titled identical-code-compare.jpg.