404 Error on Category Links

  • Posts: 32
  • Thank you received: 0
8 years 11 months ago #252108

-- url of the page with the problem -- : www.miniaturemohairbears.co.uk/
-- HikaShop version -- : 2.6.4

For some strange reason after working for a couple of years the menu links to categories have today started giving 404 errors. Products and all other Joomla pages are working fine, just the categories will no longer load.

Any idea what this could be?

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 84313
  • Thank you received: 13705
  • MODERATOR
8 years 11 months ago #252116

Hi,

It's probably that you changed something to the menu structure and you have canonical URLs in your categories which now point to menu items aliases that do not exists.
Edit your categories, and remove the canonical URL set there and it will dynamically calculate it again and it should work.

Please Log in or Create an account to join the conversation.

  • Posts: 32
  • Thank you received: 0
8 years 11 months ago #252216

Thanks for the suggestion.
I have checked and non of my categories have a canonical URL set - all of those fields are blank.

Please Log in or Create an account to join the conversation.

  • Posts: 84313
  • Thank you received: 13705
  • MODERATOR
8 years 11 months ago #252268

Hi,

I've checked your website and I see that the links to your categories are not generated by HikaShop through a categories listing module, but are made thanks to Joomla menu items. So this is handled by Joomla in that case.
I'm not sure why it would do that.
Did you change something in the settings of Joomla or of the menu items ? Did you install some extension or activated something somewhere ?

Please Log in or Create an account to join the conversation.

  • Posts: 32
  • Thank you received: 0
8 years 11 months ago #252289

Thanks for checking. No nothing has changed and the menu system has always been like that. It just started giving these errors in the last few days and whatever I do I can't seem to fix it.

Please Log in or Create an account to join the conversation.

  • Posts: 84313
  • Thank you received: 13705
  • MODERATOR
8 years 11 months ago #252337

Hi,

I'm not sure either. But you could circumvent the issue by creating a new module of the type "HikaShop content module" via your Joomla modules manager and configure it to display the categories of your shop and then use that module instead of the menu items that you had created previously. That way, it will be HikaShop which will handle the creation of the links and it should work fine.

Please Log in or Create an account to join the conversation.

  • Posts: 32
  • Thank you received: 0
8 years 11 months ago #252340

Thanks for the suggestion. If you look now I have created that module as requested (menu fix) and the problem still exists for the 404 error.

Please Log in or Create an account to join the conversation.

  • Posts: 84313
  • Thank you received: 13705
  • MODERATOR
8 years 11 months ago #252345

Hi,

In the "menu" setting of your module you need to select a menu item of the type HikaShop categories listing or HikaShop products listing and it will work fine.

Please Log in or Create an account to join the conversation.

  • Posts: 32
  • Thank you received: 0
8 years 11 months ago #252404

I have it setup like that or have I got it wrong?

- see attachment.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 84313
  • Thank you received: 13705
  • MODERATOR
8 years 11 months ago #252429

Hi,

If you look at the links in your new module, you can see such URLs:
www.miniaturemohairbears.co.uk/component...-for-sale?Itemid=102
basically, the Itemid=102 is added to the URL.
This means that you selected the menu item with the id 102 in the "menu" option of your module but that this menu item is not of the type "HikaShop categories listing". Otherwise, if it was, that parameter wouldn't appear, and instead of component/hikashop you would see the alias of the menu item you selected and the links would work.
So I would recommend to check that the menu item you selected is a HikaShop categories listing, and that it is enabled, has a public access, etc.

Please Log in or Create an account to join the conversation.

  • Posts: 32
  • Thank you received: 0
8 years 11 months ago #252515

Hi again
I have made the changes as requested but it still shows a 404 error.
CAn I PM you my login details so you could take a look just to make sure I am not doing anything wrong or there is a problem with the module?

Please Log in or Create an account to join the conversation.

  • Posts: 84313
  • Thank you received: 13705
  • MODERATOR
8 years 11 months ago #252547

Hi,

Your settings looks good now for the "menu fix" module.
Please update to the latest version of HikaShop and try again.
Your current version is really old and what you have is probably a bug of that old version.

Please Log in or Create an account to join the conversation.

  • Posts: 32
  • Thank you received: 0
8 years 11 months ago #252626

Hi Nicolas
I have upgraded to the latest version and the original menu new works. No idea why it stopped in the first place but thanks for all your help.

Please Log in or Create an account to join the conversation.

Time to create page: 0.084 seconds
Powered by Kunena Forum