Author Topic: Virtuemart Search Sef url?  (Read 447 times)

Digi-web

  • Beginner
  • *
  • Posts: 26
    • Digi Web
Virtuemart Search Sef url?
« 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.
Custom Joomla - Virtuemart Development and Templates
Website: http://www.digi-web.gr

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3343
  • using Matomo instead of Google Analytics
Re: Virtuemart Search Sef url?
« Reply #1 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).
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Digi-web

  • Beginner
  • *
  • Posts: 26
    • Digi Web
Re: Virtuemart Search Sef url?
« Reply #2 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
Custom Joomla - Virtuemart Development and Templates
Website: http://www.digi-web.gr

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3343
  • using Matomo instead of Google Analytics
Re: Virtuemart Search Sef url?
« Reply #3 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.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Digi-web

  • Beginner
  • *
  • Posts: 26
    • Digi Web
Re: Virtuemart Search Sef url?
« Reply #4 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!
Custom Joomla - Virtuemart Development and Templates
Website: http://www.digi-web.gr