Problem with Product Search
-
Hi there, so I’ve got a weird problem with my WooCommerce product search.
If you go to http://www.4x4overlander.com/ and search for a product everything works fine and results are shown, but if I search for the same product whilst on a product page nothing shows and I get a 404 error.
Now this is because it’s adding the search url to the end of the current address, rather than the root address, so if I’m searching from the homepage I get for example http://www.4x4overlander.com/?s=defender&post_type=product, whilst if I’m searching from a product page I will get something like http://www.4x4overlander.com/product/anderson-to-battery-connector-3/?s=camping
How do I make sure the search always adds the search url to the root rather than the current addresss?
Cheers!
- The topic ‘Problem with Product Search’ is closed to new replies.