Categories not working when removing id in url

  • Posts: 50
  • Thank you received: 1
11 years 3 months ago #156165

-- HikaShop version -- : 2.3.0
-- Joomla version -- : 3.3.0

Hi.

First of all I really love the feature "Remove products and categories id in URLs " in sef. Great work guys! It works beatifully on my products and the product listings.

However I don't get the categories to work without the id. When clicking on the link to a category or a child category the sysyem can't load listing of child categories or the associated module. I have put aliases for every product.

Can you help me?

Regards
Mathias

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

  • Posts: 50
  • Thank you received: 1
11 years 2 months ago #156186

I now have updated to HS vers 2.3.1. The problem still remains...

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

  • Posts: 84219
  • Thank you received: 13670
  • MODERATOR
11 years 2 months ago #156177

Hi,

You should also put aliases for your categories and make sure that they don't start with a number and are different from the product aliases. Then it should work properly.

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

  • Posts: 50
  • Thank you received: 1
11 years 2 months ago #156221

The category aliases are set properly with no number and with unique namens. Cache handling is off. What to do?

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

  • Posts: 84219
  • Thank you received: 13670
  • MODERATOR
11 years 2 months ago #156230

Can you provide the links of your website where we can see the problem and the aliases and ids of the corresponding category(ies) ?

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

  • Posts: 50
  • Thank you received: 1
11 years 2 months ago #156279

The site is off line and under construction. I have pm you info about access, so you can log in.

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

  • Posts: 84219
  • Thank you received: 13670
  • MODERATOR
11 years 2 months ago #156289

Hi,

I'm not able to see the queries in the debug of your frontend. Would it be possible to get a FTP access in order to add traces in the code ?

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

  • Posts: 50
  • Thank you received: 1
11 years 2 months ago #156387

I have now sent you PM with ftp access.

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

  • Posts: 50
  • Thank you received: 1
11 years 2 months ago #157708

Hi Nicolas.

Have you got the time to help me? My problem still remains. Do you still have the login and passw to my site and ftp?

Regards
Mathias

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

  • Posts: 13201
  • Thank you received: 2322
11 years 1 month ago #163539

Hi,

Sorry for the late reply, many improvements have been made on the urls in our latest release, the 2.3.2.
Thanks to try to download it from our website and update.

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

  • Posts: 4
  • Thank you received: 1
10 years 11 months ago #168390

Hi!
Sorry, just a couple of days using Joomla and HikaShop.

Have same issue as a topic starter.
Joomla! 2.5.24
HikaShop Starter 2.3.2

If i'm make "Category SEF name" empty and than switch ON "Remove products and categories id in URLs" than I cannot get access to categories from view by URL, just if i add category ID before alias of it.

For example: with this config (like at screen shoot in attachments) i can get access by link:
http://local/categories/14-palto
but not by this:
http://local/categories/palto
"categories" - alias of menu link (or how it calls)

Any ideas?
Thanks in advance.

UPD:
all works correct if use hikaShop menu, but not Main Menu.
Also found that I can't make "Category SEF name" and "Product SEF name" both empty
because system tell me: "you can't have the same SEF name for product and category".
Maybe need use exclude from checking when "SEF name " equal to "".

Attachments:
Last edit: 10 years 11 months ago by NickCool. Reason: UPD

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

  • Posts: 84219
  • Thank you received: 13670
  • MODERATOR
10 years 11 months ago #168541

Yes, you need to use a HikaShop menu. Otherwise, it's joomla which tries to display the categories and that is not possible.
And yes, you can't have both SEF names empty.

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

  • Posts: 4
  • Thank you received: 1
10 years 11 months ago #168577

nicolas wrote: Yes, you need to use a HikaShop menu. Otherwise, it's joomla which tries to display the categories and that is not possible.
And yes, you can't have both SEF names empty.

But look - it will work with menu if i make categories and products SEF empty by correcting in table '_hikashop_config' rows where attribute `config_namekey` = 'product_sef_name' and 'category_sef_name':

subcategory page:

product page:

menu structure:


How about this?
I'm need just this structure for SEO, but I need to add menus manually, but we don't have a lot yet.

UPD: maybe exists more comfortable and safer way to do that?
Thanks in advance.

Attachments:
Last edit: 10 years 11 months ago by NickCool.

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

  • Posts: 26264
  • Thank you received: 4043
  • MODERATOR
10 years 11 months ago #168626

Hi,

Thanks for your feedback.

The SEF system has been improved in the past releases ; and some improvements to detect and check the menus to provide nicer URL has been made.
I will notify Nicolas about your configuration ; maybe we can see to remove the restriction on "both SEF empty" but we have to do some tests before ; I'm not sure that if you forget to add a menu for a category, the links were broken.
So maybe there is another improvement to make ! (but it needs tests).

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 84219
  • Thank you received: 13670
  • MODERATOR
10 years 11 months ago #168686

Hi,

It can work in some special cases, but in most cases it won't work as the system won't be able to descriminate between categories and products display. So we can't allow that by default.

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

  • Posts: 4
  • Thank you received: 1
10 years 11 months ago #168718

nicolas wrote: Hi,

It can work in some special cases, but in most cases it won't work as the system won't be able to descriminate between categories and products display. So we can't allow that by default.

Hi!

Thanks for answer, will configure it manually :)

I think all will work just if make menu for each categories (and maybe if products and categories will not have same alias).
In other case I had problems, also if i had disabled "show ID for cats and products" and make an 'empty' SEF for categories and don't have menu for each category.

P.S.: sorry for my bad English.

Last edit: 10 years 11 months ago by NickCool.

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

Time to create page: 0.122 seconds
Powered by Kunena Forum