Title: Empty filters
Last modified: September 22, 2016

---

# Empty filters

 *  [BenM](https://wordpress.org/support/users/alysko/)
 * (@alysko)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/empty-filters/)
 * Hi,
 * If I submit search form without selecting any filter, url is my-website.null/?
   post_types=myCPT which is going to home page. Rather than staying to the same
   page.
 * If I add empty_search_url=”‘ . site_url() . ‘/myCPT’ . ‘” to the shortcode, nothing
   change.
 * How can I change this ?
 * Thanks.

The topic ‘Empty filters’ is closed to new replies.

 * ![](https://ps.w.org/search-filter/assets/icon-256x256.png?rev=3096093)
 * [Search & Filter](https://wordpress.org/plugins/search-filter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/search-filter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/search-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/search-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/search-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/search-filter/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [BenM](https://wordpress.org/support/users/alysko/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/empty-filters/)
 * Status: not resolved