- Posts: 50
- Thank you received: 1
Categories not working when removing id in url
-- 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.
Please Log in or Create an account to join the conversation.
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.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
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.
Please Log in or Create an account to join the conversation.
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.
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.
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 "".
Please Log in or Create an account to join the conversation.
And yes, you can't have both SEF names empty.
Please Log in or Create an account to join the conversation.
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':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.
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.
Please Log in or Create an account to join the conversation.
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.
Please Log in or Create an account to join the conversation.
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.
Hi!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.
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.
Please Log in or Create an account to join the conversation.