how to add category name to product url?

  • Posts: 15
  • Thank you received: 1
11 years 5 months ago #104304

Hello!
Have not found suitable topic on the forum.
This is product url.
/Categories-listing/product/show/3-petrikov-tropical-fusion/category_pathway-14.html

1. Is it possible to remove 'Categories-listing' and 'show' from it?
2. How to replace category_pathway-14 with category name?

Thank you guys for great support!

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

  • Posts: 13201
  • Thank you received: 2322
11 years 5 months ago #104332

Hi,

For that you will have to use a third sef extension.
I recommend JoomSEF which have a lot of options for HikaShop.

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

  • Posts: 15
  • Thank you received: 1
11 years 5 months ago #104778

Is it possible to do with sh404SEF? This is one we use now.

Actially we have a lot of products and I look for solution to avoid adding sef url for every newly added product.

Last edit: 11 years 5 months ago by kostia_lev.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 5 months ago #104795

Hi,

Yes it can be done with sh404SEF.

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

  • Posts: 15
  • Thank you received: 1
11 years 5 months ago #104811

okay.
Can you give me at least some details,
please for either JoomSEF or sh404SEF.

Because all, I see is feature to add SEF url for every product separately.

And I would like to add them for all products.

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

  • Posts: 82727
  • Thank you received: 13343
  • MODERATOR
11 years 5 months ago #104959

You would indeed have to add an alias URL for each product.
Otherwise, if you want to do it automatically, it would require to modify the code (either in joomsef or the plugin for HikaShop).
I would recommend you to contact their support to talk about that with them about that.
Otherwise, with Joomla's default system it would also potentially be possible with code modifications of the file components/com_hikashop/router.php but it's definitely not an easy task.

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

  • Posts: 15
  • Thank you received: 1
10 years 10 months ago #136479

Hello Nicolas,

I know that is old topic, but I am searching around and I prefer (and many too) sh404sef to create good SEO addresses ...also because contain some security.
For me good SEO address is:

www.domain.ltd/parent-category/child-category/product-name
May be could be good to create Hikashop plugin for sh404sef ...for what I see it now, url addresses are one of ugly dot in otherwise really nice e-shop.

For a moment I can rewrite in sh404sef by hand, but in so many products from vendor extension I will spend rest of my life with rewriting urls by hands...

//edit

...uf is even worse that I mean :( if I have child category, SEF url is without parent category...
...and I have type of links for my main category:
index.php?option=com_hikashop&Itemid=107&cid=13&ctrl=category&lang=sk&name=domace-spotrebice&task=listing
translation is
registration-form//13-domace-spotrebice
- that I totaly do not understand what it mean - I hope I have problem with set-up

Last edit: 10 years 10 months ago by PeterB.

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

  • Posts: 82727
  • Thank you received: 13343
  • MODERATOR
10 years 10 months ago #136542

Hi,

registration-form must be the alias of your menu, 13 is the id of your product and domace-spotrebice the alias of your product.

The alias of the menu can of course be changed in joomla, but the id of the product cannot be removed unless you either enter SEF aliases in sh404sef or write a custom plugin for sh404sef to remove it.

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

  • Posts: 15
  • Thank you received: 1
10 years 10 months ago #136674

... :(
urls are bad and everything but not sef.
...in that case google will understand, that categories or product is categories from your shop

I can not imagine, that I should change each address in shop.
I am not able to create plugin for sh404sef, could not you do it? - where you can set adresses in correct way:

domain.ltd/parent-category/child-category-1/.../child-category-x/product-name
...and you can choose, if you want include all categories in url path, or not

...if you will create plugin and it will work in that way, I am ready to pay for plugin like this.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 10 months ago #136721

Hi,

You can ask for a quote via our contact form.
Or post a request on the commercial jobs section of this forum, or ask to a third developer.

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

  • Posts: 15
  • Thank you received: 1
10 years 10 months ago #136731

...why not to create for whole community as paid plugin?

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

  • Posts: 82727
  • Thank you received: 13343
  • MODERATOR
10 years 10 months ago #137004

The URLs are SEF. What you want are not SEF URLs but SEF URLs which look nice to users if they read them, which is not necessary for search engine friendliness. Google crawlers are really smart and rest assured that they understand URLs with/without the ids in the same manner.

We could create such plugin yes. But it's not a priority for us since, first it's not easy, second, it creates a lot of conflict issues because of the way joomla is done (and thus it's a support nightmare), and third we have requests for plenty of other plugins where people are ready to pay full price for their development and can't do everything, so we have to prioritize.

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

Time to create page: 0.094 seconds
Powered by Kunena Forum