Title: query string causes filter on page refresh
Last modified: November 11, 2023

---

# query string causes filter on page refresh

 *  [computergeek9696](https://wordpress.org/support/users/computergeek9696/)
 * (@computergeek9696)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/query-string-causes-filter-on-page-refresh/)
 * We have a page built for a product category page for a category called “gifts”.
   the page has two product lists on it. the first product list is a carousel of
   the category “gifts” and the second product list is just a regular list but of
   a differet category that are “gift items”. When you do a fresh load of the page,
   everything is great. However when you do a fresh load, the plugin puts a query
   string on the URL. if I hit refresh, that query string causes that carousel to
   show nothing. I have to change the url to remove the query string manually and
   load the page fresh to get it to show right. I have already set the plugin settings
   to delete the query string if page category is the same. However the query string
   category is the id of the second product list not the category of the page which
   controls the first product list carousel.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fquery-string-causes-filter-on-page-refresh%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [RazyRx](https://wordpress.org/support/users/razyrx/)
 * (@razyrx)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/query-string-causes-filter-on-page-refresh/#post-17271911)
 * Hello,
   You have custom code that apply filters on page load. that filter products
   on page.With AJAX plugin replace only products list that has selector from plugin
   settings -> Selectors tab.Other products list also filtered, but not replaced
   with AJAX.Page with mulriple products list must be setuped in specific way to
   filter only one list.It can be done in different way, for example shortcode [
   brapf_next_shortcode_apply apply=true] to apply filters for next products list[
   brapf_next_shortcode_apply apply=false] to ignore products list by filters.Regards,
   Oleg

Viewing 1 replies (of 1 total)

The topic ‘query string causes filter on page refresh’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-ajax-filters/assets/icon-256x256.gif?rev=2770304)
 * [Advanced AJAX Product Filters](https://wordpress.org/plugins/woocommerce-ajax-filters/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-ajax-filters/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-ajax-filters/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-ajax-filters/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-ajax-filters/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-ajax-filters/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [RazyRx](https://wordpress.org/support/users/razyrx/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/query-string-causes-filter-on-page-refresh/#post-17271911)
 * Status: not resolved