News:

Support the VirtueMart project and become a member

Main Menu

Virtuemart Search Sef url?

Started by Digi-web, May 16, 2018, 09:50:18 AM

Previous topic - Next topic

Digi-web

Hello, after updating to recent virtuemarts 3.2.14 it seems that the search url in the my websites is not working correctly.
In details url should be: www.website.com/search/KEYWORD but it is www.website.com/?keyword=KEYWORD&limitstart=0&option=com_virtuemart&view=category&virtuemart_category_id=0

I see that on vm router a new code has been writen with COM_VIRTUEMART_SEF_search inside but it seems it is not ready yet.

Actually i am getting tons of these reports from webmaster tools and i am trying to fix this asap.
From my findings version 3.2.4 did work ok.

Thank you for your time.
Custom Joomla - Virtuemart Development and Templates
Website: http://www.digi-web.gr

jjk

Do you use a SEO extension? There is one which creates unique search pages from the meta tags defined on your product pages. As far as I remember, VM itself never SEF urls for searches. Google normally indexes pages it finds following (menu) links. The search bots don't fill and test search forms.

COM_VIRTUEMART_SEF_search is a typo. It should read COM_VIRTUEMART_SEF_SEARCH. However this part of code is commented out (not used).
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Digi-web

Hello, There is no extension / component for SEO in the joomla installation (only System - VM OG Meta Tag plugin).

What i have found out is that when i enabled the commented out section in router.php the www.website.com/search/ URL did work and not throw a 404 error page.
Also noticed in google tools that there were also some urls that had the search like: www.website.com/MANUFACTURENAME/search/etc that did not seem to work.

Generally in my local testings from version 3.2.4 the issue begun only when upgrading the virtuemart version. If i understood correctly in prev version the key was public function lang($key) but i am not sure either how it was implemented exactly.

PS the site is in Greek language but also in English. I would be glad to take a look together if you wish.
I can also provide the 3.2.4 version as a backup that did work ;)

BR,
Alexander
Custom Joomla - Virtuemart Development and Templates
Website: http://www.digi-web.gr

jjk

Just found this in the forum:  http://forum.virtuemart.net/index.php?topic=138746.0
I would recommend to clear all cache files and mark those old 'issues' as fixed in webmaster tools.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Digi-web

Hmm, i did not locate this on my search, thank you.

I feel bad about this change but its ok i guess i will put some redirect rules to rectify the 404 pages then.

Thank you very much!
Custom Joomla - Virtuemart Development and Templates
Website: http://www.digi-web.gr