VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: Digi-web on May 16, 2018, 09:50:18 AM

Title: Virtuemart Search Sef url?
Post by: Digi-web on May 16, 2018, 09:50:18 AM
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.
Title: Re: Virtuemart Search Sef url?
Post by: jjk on May 18, 2018, 10:49:13 AM
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).
Title: Re: Virtuemart Search Sef url?
Post by: Digi-web on May 18, 2018, 11:05:27 AM
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
Title: Re: Virtuemart Search Sef url?
Post by: jjk on May 18, 2018, 12:14:40 PM
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.
Title: Re: Virtuemart Search Sef url?
Post by: Digi-web on May 18, 2018, 13:02:53 PM
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!