News:

Support the VirtueMart project and become a member

Main Menu

Bad URLs for VM Search - how to fix ?

Started by Steev J, October 15, 2014, 15:14:45 PM

Previous topic - Next topic

Steev J

Hi,

problem I am having is with the following url after a search:
http://websitename/vm-search/search?keyword=searchtermhere&limitstart=0&option=com_virtuemart&view=category

That is the returned url in the browser after i search. How do I remove:

  • "com_virtuemart"
  • rename "vm-search" to my custom search phrase

Its an ugly and unprofessional looking url, anyone know where to start or know how this is done ?

Attached a screenshot, process is i hit the search icon and type the search string, hit enter and it returns the product results with the above url.

Using:
Joomla 2.5.24
SEO Settings:
Search Engine Friendly Yes
Use URL rewriting Yes

Category and Product link are normal and look good its the search module returned url I have a issue with.



[attachment cleanup by admin]

GJC Web Design

????Its an ugly and unprofessional looking url?????
hmmm -- as Google doesn't instigate searches on sites and 90% of consumers don't even know what a url is surely there are other things in life to worry about?

This is an Amazon search url

http://www.amazon.co.uk/s/ref=nb_sb_noss_1?url=search-alias%3Daps&field-keywords=t-shirt&sprefix=t-shi%2Caps

Ebay

http://www.ebay.de/sch/i.html?_from=R40&_trksid=p2050601.m570.l1313.TR12.TRC2.A0.H0.Xt-shirt&_nkw=t-shirt&_sacat=0
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Steev J

#2
Well that is my opinion yes. That's why we activate SEF because presentation matters, at least it matters to me and my clients anyways.
I accept it doesn't seem to matter to you and that is fine but I am not asking for an opinion on what I need help for, I am looking for a solution or someone willing to help.

If i enter this in the browser url bar:
http://websitename.com/vm-search/search?keyword=searchtermhere

It works and returns the right results and the url remains as I type it
as well as typing the search term from the returned result page. (see screenshot)

Its only when is search from the module in the menu/headerbar. (see screenshot)

So I ask again:
http://websitename/vm-search/search?keyword=searchtermhere&limitstart=0&option=com_virtuemart&view=category

That is the returned url in the browser after i search. How do I remove or rename:

  • "com_virtuemart"
  • rename "vm-search" to my custom search phrase

Should i rather post this in the SEF section ?

Thanks in advance..



GJC Web Design

you'll have to poke around in the VM router.php file then
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Steev J

Thanks I checked it out and its beyond me, you or anyone else know how to sort this out ?

Anyone from the virtuemart team ?

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

balai

If you are willing to use a 3rd party extension for your searches, you can also have a look here
http://breakdesigns.net/extensions/custom-filters

Steev J

Thank-you for the replies guys.

I happy with the search other than the issues mentioned.

I have managed top change the vm-search part of the url but do not know how to remove the com_virtuemart from the returned link still.

Anyone from the virtuemart team willing to assist ?