News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Sef router customization?

Started by keran, September 16, 2013, 14:07:41 PM

Previous topic - Next topic

keran

Hello,

Is it possible to do some customization's into virtuemart sef router?

for example now i have: www.domainexample.com/en/shop/1-category/3-subcategory/product-name-info
how to remove the 'shop' string from url: www.domainexample.com/en/1-category/3-subcategory/product-name-info
only for categories and product pages?
I tried sh404SEF but it occurs some multilingual errors because it need to disable the original Joomla language filter.

it's multilanguage store on Joomla! 2.5.14 and Virtuemart 2.0.22d

Maxim Pishnyak

#1
Quote from: keran on September 16, 2013, 14:07:41 PM
how to remove the 'shop' string from url: www.domainexample.com/en/1-category/3-subcategory/product-name-info
only for categories and product pages?
Currently only by creating individual menu items in 'hidden menu' for each page. And doing any kind of such SEF simplification could have bad impact on SEO. Some theory is here http://forum.virtuemart.net/index.php?topic=117507
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

jjk

Quote from: keran on September 16, 2013, 14:07:41 PM
for example now i have: www.domainexample.com/en/shop/1-category/3-subcategory/product-name-info
how to remove the 'shop' string from url: www.domainexample.com/en/1-category/3-subcategory/product-name-info
only for categories and product pages?
I tried sh404SEF but it occurs some multilingual errors because it need to disable the original Joomla language filter.
it's multilanguage store on Joomla! 2.5.14 and Virtuemart 2.0.22d

If you want your shop categories to show on your frontpage, that is pretty easy by making "Shop" your frontpage link. In this case you would have to select 'VirtueMart ยป Front page' ('VirtueMart Categories Layout' works, too) as the 'Menu Item Type' for your 'Shop' menu item.

You don't need sh404sef to achieve this on a multilingual site (using it usually just creates additional problems).

You can see a working example, if you follow the link to the shop mentioned in this forum post: http://forum.virtuemart.net/index.php?topic=110005.0
However, at present this shop doesn't use subcategories. But I think it shows the SEF urls exactly like you want them.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

keran

Thank You jjk but this dosn't work for me :/ and i dont know why :(

for Polish links i have always added 'sklep' /sklep/1category/product
and for English 'shop' /en/shop/1-category/product

jjk

Quote from: keran on September 19, 2013, 08:55:23 AM
Thank You jjk but this dosn't work for me :/ and i dont know why :(

Can you post a link to your frontpage here, so that somebody can have a look at your menu structure?
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

keran

I can't show You this online, because it still has sh404sef enabled with the short link used on several forums, youtube etc.
www.fashion-style.com.pl
I want to first make the same url's without sh404sef because it cause lot of errors on language switcher, search plugin and currency.

I try to configure copy of this page locally, some screens in attachment:
Now 'pl' lang url are ok - only 'en' still contains 'shop' segment in url.



[attachment cleanup by admin]

Maxim Pishnyak

Quote from: keran on September 21, 2013, 23:25:17 PM
... it still has sh404sef enabled...
Only sh404sef developer could you support then. But I don't think that it's easy to be supported on the forum with such structure - http://anything-digital.com/forum/extension/sh404sef/ . 521 unsorted by extension threads! This is unbelievable.

sh404sef installed on VM system doesn't allow support mentioned cart system on current forum.

VM is able to work without sh404sef well.

And VM doesn't work good with sh404sef as well.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

keran

Maxim, I agree that anything-digital support is poor :/
Now I search for support here because i try to configure VM without sh404SEF - only with the original Joomla! and Virtuemart sef router.

Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

keran

#9
Yes, I uninstall it. Cleared cache and it's the same:
PL: /category-alias-pl/product-alias-pl-info   and this is beauty URL :)
EN: /lang(en)/menu-alias(shop)/category-alias-en/product-alias-en-info   only this /menu-alias(shop)/ is too much :(

I tried the JJK solutions without success :/
On ...://www.*******.com/ it is working as I need. (url modified by jjk  ;) )

Maxim Pishnyak

At this point you could pm me access for more faster result for both of us.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

keran

I did it! :) with jjk description and additional use of admin tools from akeeba. Cleared tmp, sessions and database repair.
Thanks.