Poblem with product url

  • Posts: 69
  • Thank you received: 1
10 years 9 months ago #181302

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 2.5
-- Browser(s) name and version -- : FireFox

Hello
I use virtuemart in my store. now I am trying to move to hikashop.
I import all product successfully. now I need to set hikashop so that i have same product and category url as my old site.
I built menu for all of my categories with the same alias. (like my old site). The result is that i have no problem with products in categories. for example it is a url of product with ID :1689
mysite.com/fa/portable-test-equipment/te...inum-rtd-thermometer

the problem is that if i build a module that recall the product with ID 1689, the url will be like this:
mysite.com/fa/component/hikashop/1689-te...inum-rtd-thermometer

I want to have a same url for a certain product in category list and modules in my index.
I set the SEF url options as the picture in attachment.

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
10 years 9 months ago #181315

Hello,
The solution will probably be to set the "Menu" option of your product listing content module configuration page, to an Hikashop product listing content menu.

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

  • Posts: 69
  • Thank you received: 1
10 years 9 months ago #181408

Hello and thanks for replaying
I did as you said, the url changed to :
instrucenter.com/inc/fa/product/1689-tes...inum-rtd-thermometer

but i want to have a url like the product url in my main menu categories:
mysite.com/fa/portable-test-equipment/temperature-test-equipment-portable/contact-portable-thermometer/1689-tes-1317-platinum-rtd-thermometer

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

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

Hi,

As Mohamed said, you have to select the correct menu, so in your case the menu which is providing the first link.
Then you can manage the url settings in Configuration > Features > SEF

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

  • Posts: 69
  • Thank you received: 1
10 years 9 months ago #181535

Hello
The problem is that i have a module in my index page that recall products from different menus (categories). so i cant select one menu for my module.
Is there any other solution?

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

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 9 months ago #181669

Hi,

You can activate the "Force canonical URLs on listing" option and enter the URL you want for each product in the "canonical URL" field of each product (it can also be auto generated in that "Force canonical URLs on listing" option).

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

  • Posts: 69
  • Thank you received: 1
10 years 9 months ago #181681

Hello
I activate the "Force canonical URLs on listing" option. but there is another problem. by activating this option the word "product" will be added before product alias. look at this url:
mysite.com/fa/portable-test-equipment/te...ortable-thermometer/ product/1689-tes-1317-platinum-rtd-thermometer

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

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 9 months ago #181691

Hi,

The product word comes from the "product SEF name" field. If you empty it you won't get it in the URLs (you'll have to clear the canonical URL field of the products for which the canonical URL were automatically generated already in order to see the change).

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

  • Posts: 69
  • Thank you received: 1
10 years 9 months ago #181896

hi
as you see in the picture in first message, "product SEF name" field is empty.
when i clear the canonical URL field of the products the product url change to:
mysite.com/fa/product/1689-tes-1317-platinum-rtd-thermometer

but i want this:
mysite.com/fa/portable-test-equipment/temperature-test-equipment-portable/contact-portable-thermometer/1689-tes-1317-platinum-rtd-thermometer

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

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 9 months ago #182003

Hi,

I checked your website and it seems that "product" is actually the alias of your menu item. So if you want another alias in the URL you should modify it in the options of your menu item that you can edit via the Joomla menu manager.
You'll have to clear again the canonical URL field after that.

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

Time to create page: 0.089 seconds
Powered by Kunena Forum