SEF URL customization

  • Posts: 23
  • Thank you received: 0
11 years 8 months ago #139477

-- HikaShop version -- : 2.2.2
-- Joomla version -- : 3.2.0
-- PHP version -- : 5.4.22
-- Browser(s) name and version -- : Mozilla Firefox 20.0.1

Hey guys,

I googled a lot now, but didn't really come to a solution / answer to an issue I have.
Maybe you can provide me just with an quick info.

Is it possible, to really change the SEF URL in Hikashop?
Like for example:

I have the user control panel like:
www.seite.at/component/hikashop/address

What I would want to have is:
www.seite.at/benutzerverwaltung/adresse

or,
www.seite.at/compnent/hikashop/order

to:
www.seite.at/benutzerverwaltung/bestellungen


is that doable?

Thanks guys,

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

  • Posts: 84305
  • Thank you received: 13700
  • MODERATOR
11 years 8 months ago #139538

Hi,

The part component/hikashop is easy to remove. Actually if you create a menu item of the type hikashop user control panel, you should not have that part and instead just the alias of your menu item.

The part order/address is necessary for HikaShop to know what it has to display and cannot be easily changed. The simplest would be to use the URL alias system of third party SEF tools like SH404SEF in order to handle that.

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

  • Posts: 23
  • Thank you received: 0
11 years 8 months ago #139633

Hey Nicolas,

thanks for your reply.

It seems that the plugin "Simple Costum Router" should do the work here.

But just another quick question:

I have the hikashp link now, which is (the query):
option=com_hikashop&ctrl=category&task=listing&cid=12&name=burger&Itemid=216

alright, the sef or path should turn into:
speisekarte/burger

Well what shall I say, it doesnt work ...
Do you think, that I should deactivate the SEF option from Hikashop. Can this plugin even collide with that?

Man, thats really tricky ... god

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

  • Posts: 23
  • Thank you received: 0
11 years 8 months ago #139884

Ok fixed everything now.

I just set up a hidden menu with all my aliases I needed.

Thanks again.

Last edit: 11 years 8 months ago by Mikemike.

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

  • Posts: 43
  • Thank you received: 1
10 years 1 month ago #211554

There is no "Simple Costum Router" plugin in current Hikashop business version. So, please, Nicolas, say us how to clean up mess with hikashop urls.

The problems:
Problem 1: on every url is string "component/hikashop/"
Problem 2: canonical tag is not working well. And this is huge problem - all shop go to trash, all product pages are not indexed well.

Explanation:
About problem 1: I already have menu to hikashop -> user control panel. But hikashop all links are with itemid=9999 at end. For example all links from menus (menus point to hika categories) and from home page.
About problem 2: Edited.

Seems your component (every time when product canonical url is not filled) create and insert Alias as canonical. And when we change menus aliases, problem is shown.

But again there is a problem: in website are present different urls on different pages. And canonical is not working well.

Link: ambra.top/component/hikashop/p/chloe-l-e...za-zheni?Itemid=9999

Canonical: <link href="http://ambra.top/component/hikashop/p/chloe-l-eau-de-chloe-edt-100ml-za-zheni" rel="canonical" />

Link: ambra.top/%D0%B4%D0%B0%D0%BC%D1%81%D0%BA...e-edt-100ml-za-zheni
Canonical: <link href="http://ambra.top/дамски-парфюми/p/chloe-l-eau-de-chloe-edt-100ml-za-zheni" rel="canonical" />

Product configuration:
Alias: chloe-l-eau-de-chloe-edt-100ml-za-zheni
Canonical URL: /дамски-парфюми/p/chloe-l-eau-de-chloe-edt-100ml-za-zheni

Please, help us to solve problem.

Last edit: 10 years 1 month ago by eduarddimitrov.

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

  • Posts: 84305
  • Thank you received: 13700
  • MODERATOR
10 years 1 month ago #211570

Hi,

You're mixing several things here.

1. The component/hikashop part of URLs. This will be added automatically by Joomla's SEF system when the Itemid parameter is missing in the URLs or if the component of the menu item is a different component than the component necessary to the display of the page.
For example, if you're trying to SEF a URL like this: index.php?option=com_users&view=registration&Itemid=18 where 18 is the id of a menu item of the type hikashop products listing (or any other component than com_users), you'll have component/users added at the beginning by the Joomla SEF system.
This problem will often happen with HikaShop when you have configured a products/categories listing module without selecting a Hikashop menu item in the "menu" setting of the module (via the Display>Content modules menu). That's what is used to set teh Itemid. Without it, Joomla will often add component/hikashop at the beginning of the SEFed URLs.
So that problem is merely a setting issue.

2. When you configure your website, you'll be able to creating modules and menus generating different URLs for the same content (because they use different Itemid parameters, etc). The will hinder SEO as crawlers will flag your URLs as duplicate content.
To avoid that, we added a canonical URL field in products and categories so that you can enter there the main URL you want to use among all these URLs. Of course, if you change the alias of a product/category, you also need to change it in the canonical URL if you want to keep the consistency since the alias is used by the system to understand the which product to display when the link is used.

3. To make it easier for merchants to configure their products, we've added the "force canonical URL on listings" setting of the HikaShop configuration. It can either be turned off and the canonical URL will only be used be crawlers as the main URL of a product/category for SEO purposes if specified, or it can be activated. If activated, the canonical URL will replace the normally dynamically generated URL and thus, it will break the links to the products pages if the links you have in the "canonical URL" fields are not valid anymore (they should be fixed in that case). Finally, it's also possible to configure that option to have HikaShop use the canonical URL if provided, or fill it with the first generated URL it has to generate for the product (and then use it all the time). That's a great time saver when you want the system to fill all the canonical URLs for you but if you later on change the aliases, or the menu structure, it's up to you to fix the canonical URLs or the links to the products won't work anymore.

The following user(s) said Thank You: eduarddimitrov

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

  • Posts: 43
  • Thank you received: 1
10 years 3 weeks ago #212302

Nicolas, thank you. Will try your advices. May be problem is in some of Gavick modules - website is using Gavick template and extensions.

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

Time to create page: 0.076 seconds
Powered by Kunena Forum