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

virtuemart search module's search result url not search engine friendly

Started by navmom, March 15, 2016, 07:37:42 AM

Previous topic - Next topic

navmom

Hello,
Whenever i type anything in search box i get in url  something like search?limitstart=0&option=com_virtuemart&view=category&keyword=lenovo+
I want to remove the word virtuemart from the url

SEF is already enabled in joomla and virtuemart
I am not using any third party extensions

Studio 42

Remove the value from your search form module
<input type="hidden" name="option" value="com_virtuemart">

navmom

Quote from: Studio 42 on March 15, 2016, 14:35:50 PM
Remove the value from your search form module
<input type="hidden" name="option" value="com_virtuemart">

Thanks, that worked
Removed the line  <input type="hidden" name="option" value="com_virtuemart"> from  /templates/my_template/html/mod_sp_vmsearch/default.php