Remove /component/hikashop from URL

  • Posts: 35
  • Thank you received: 0
8 years 9 months ago #229574

-- url of the page with the problem -- : www.continuitylenses.com/en/component/hikashop/checkout
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.6
-- PHP version -- : 5.5.30
-- Browser(s) name and version -- : Google Chrome 47.0.2526.106

Hello,

We would like to remove /component/hikashop from our checkout page ( www.continuitylenses.com/en/component/hikashop/checkout ). The URL we would like is www.continuitylenses.com/en/checkout .

I've read through other support tickets and it seems to use /component/hikashop because it is not linked to Joomla menu. This makes sense as we are using the HikaShop Content Module to display our products on the homepage only.

I've also noted the potential fix on your support forums whereby you can set-up a Joomla menu, 'force a menu on checkout' and clear the Checkout SEF name under Hikashop>Config>Features. Unfortunately, this will not work for us as we have a multi-lingual site and cannot, for example, force the English checkout menu on customers in The Nederlands or Belgium.

Do you have any other solutions?

Thanks,

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 9 months ago #229578

Hi,

I suppose that you have different modules for different languages (if not, you could create them). So you can edit them and in the "menu" setting of the modules, you can select the target menu item. That way, you can have a different target menu for different languages.

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

  • Posts: 35
  • Thank you received: 0
8 years 9 months ago #229657

Hi Nicolas,

Thanks for your reply.

Yes, we have done what you suggest.

We have created three different modules for each language (EN, FR, NL) and set each module to display on the relevant country homepage (we want to display our 2-box products on homepage to expedite checkout).

What we need to do is change the URL of the 'Add to Cart' button which is configured under HikaShop Content Module>Hikashop options. When you click on it, it goes to /en/component/hikashop/checkout. We need /en/checkout.

I think it's a simple task if you use Joomla menus and/or do not have a multi-language website. Unfortunately, neither scenario applies to us. To illustrate this point, our 1-box products do use the Joomla menu system. If you select 'Add to Cart' from www.continuitylenses.com/en/single-boxes , the checkout is perfect ( www.continuitylenses.com/en/single-boxes/checkout ).

Do you have any other solutions/suggestions?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 9 months ago #229709

Hi,

Then, let's do it differently:

- create a new unpublished category.
- in that category description add the content that you actually have above the module of your home page.
- add that category as second category of the products displayed in that module of the homepage.
- create a products listing menu item with that unpublished category as parent category and make sure that the "show description" setting of the menu item is activated so that it displays the description of the category.
- set that menu item as default so that it displays on the homepage
The link of the checkout when you click on add to cart from the products displayed by that menu item should not contain anymore the component/hikashop part.

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

  • Posts: 1
  • Thank you received: 0
8 years 7 months ago #236128

Hello,
is there any way to remove the "component/hikashop/" in product listings in some of the hikashop modules also.
The problem which I have is that in the products listing page I have them with this URL pattern:
/menu-name/product-name
but in the hikashop product listing modules I have completely different URL's for the same product! :( :( :(
As you well know this is a very serious SEO / SEF problem, especially with google.

My site is using this template:
demo.joomshaper.com/2014/organic-life/in...and-review-variation

Example URL's
1. URL's on a Hikashop product listing page:
/menu-name/product-name

2. Module, Content display for Hikashop
/hikashop-menu-for-module-236/product-name

3. URL's on another Module on our front page:
/component/hikashop/product-name

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 1 month ago #251323

Hi,

Having different URLs for the same page is not a problem for SEO as long as you have a canonical meta tag in the header of the page with the main URL set in it.
That's what HikaShop does when you fill in the "canonical URL" of your products.
So make sure that you set the main URL you want as canonical URL in your products and you won't have that problem.

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

Time to create page: 0.076 seconds
Powered by Kunena Forum