Search for: Log In Free Support [Resolved] Restrict Search to products but do not use GET method Home › Forums › Support › Restrict Search to products but do not use GET method This topic contains 1 reply, has 2 voices, and was last updated by Tom 2 months, 3 weeks ago. 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 Tom 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. Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic.