Home › Forums › Support › Restrict Search to products but do not use GET method This topic has 1 reply, 2 voices, and was last updated 4 years, 1 month ago by Tom. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts March 8, 2020 at 3:33 pm #1189000 David Bennett I crawled my WooCommerce site with Sitebulb and it gives a warning about using the GET method to restrict search to products I am using the code in the GeneratePress documentation restricting search to products and that uses the GET method. I wonder what your opinion is of the warning? And if you think there is merit in the warning, do you have alternative code using the POST method? Thanks, David March 9, 2020 at 7:55 am #1189759 TomLead Developer Lead Developer Hi David, I don’t think there’s any real issue with using GET over POST in this instance. WordPress itself uses GET (https://github.com/WordPress/twentytwenty/blob/master/searchform.php) in all of their search forms. Of course, you can try filtering the search to use POST, instead. Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In