Force search form to go to clean url without multiple redirects
Assuming you make your form’s action point to the correct URL, here are Two (and a half) Options: With Javascript (jQuery) jQuery(document).ready( function() { jQuery(“#searchform”).submit( function() { self.location.href = jQuery(this).attr(“action”) + jQuery(“#s”).val(); return false; }); }); You could also do it without jQuery (if you don’t use jQuery on your site and don’t want to … Read more