Import VM to Hikashop manually.

  • Posts: 44
  • Thank you received: 0
10 years 4 months ago #164520

-- HikaShop version -- : 2.3.1
-- Virtuemart version -- : 2.6.6

Hi,

hikashop's implemented import from VM to hikashop didn't work properly for me, so I've decided to do it manually. I've created two tables hikashop_vm_prod and hikashop_vm_cat and than I've published virtuemart redirect plugin.

Than I've changed the alias of the VM menu item to new one (main-old) and used the old VM alias (main) for new hikashop menu item.
So - old VM catalog url (parent category) was catalog/main and I've renamed it to catalog/main-old and than changed hikashop url to catalog/main.

Redirection works but URL after redirection looks like example.com/component/hikashop/product/... So - example.com/catalog/main/some_category/some_product (it's an old VM url) is now redirecting to example.com/component/hikashop/some_product.

What have I done wrong or what I had to add to make it work?
Maybe some menu module or content module is missing?
Was is the right decision to rename old VM alias or had I leave it as it was and chose new alias for hikashop?

In my case I want to redirect:
catalog/main/some-category/some_product to catalog/main/product/some_product
catalog/main/some-category to catalog/main/category/some_category

Thanks in advance.
Denis

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 4 months ago #164578

Hi,

The goal is not to use the redirect plugin to keep your menu items.
The goal is that it redirects the customers coming from the old URLs of the products from google to the new pages so that the links still work and that you don't loose your page rank. So the generated link itself is not important since it won't change anything for SEO as it is already ranked by search engines with the previous URL.

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

  • Posts: 44
  • Thank you received: 0
10 years 4 months ago #164826

Hi,

thank you.

Got it. So I'll do some redirections in .htaccess to change url from "example.com/component/hikashop/product/some_product" to "example.com/catalog/main/product/some_product", because otherwise my modules are not shown on left side.

Denis

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

Time to create page: 0.049 seconds
Powered by Kunena Forum