PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]
Botoscope is currently in early access

Support Forum

You need to log-in to create request (topic) to the support

No Redirect on checkbox or slider action

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

I have filters set for vendor and when choosing “test-1” for example, the products on page load on the same page template

https://unwrapdfw.com/?swoof=1&woof_author=2

-

But when I filter by location, it redirects to:

https://unwrapdfw.com/?swoof=1&product-location=dallas

I don’t want to be redirected after choosing a checkbox.

How do I keep the user on the same page after choosing a checkbox?

Thank you so much for your help & patience

Hello

Just looked your link BUT got there: 401 Authorization Required, Also not possible of 401 error to see image https://unwrapdfw.com/wp-content/uploads/2026/04/filter-no-redirect-reduced.jpg

In the private area of this ticket please provide required login/pass to see the page.

https://share.pluginus.net/image/i20230222134241.png
https://share.pluginus.net/image/i20230222134615.png
https://share.pluginus.net/image/i20230222134511.png


Here is possible answer on your issue:

The difference in behavior between the two filters comes down to how WordPress handles the taxonomy URLs.

The vendor filter uses the internal woof_author parameter which HUSKY manages directly, so there is no WordPress archive involved and the page stays in place via AJAX.

The product-location taxonomy, however, is registered as a public taxonomy with its own archive in WordPress. When HUSKY builds the filter URL using the taxonomy slug directly as a query parameter, WordPress recognizes it and redirects to the taxonomy archive page instead of staying on the current page.

To fix this, add the following snippet to your child theme functions.php. It removes the public rewrite rules for the product-location taxonomy so WordPress stops redirecting to its archive, while the taxonomy itself and HUSKY filtering continue to work normally:

add_action('init', function() { // Prevent WordPress from redirecting product-location to its taxonomy archive register_taxonomy('product-location', 'product', array( 'rewrite' => false, )); });

If you prefer not to touch the taxonomy registration, the alternative is to add a redirect prevention via query vars. Add this to functions.php instead:

add_filter('redirect_canonical', function($redirect_url, $requested_url) { // Prevent canonical redirect when HUSKY filter is active if (isset($_GET['swoof'])) { return false; } return $redirect_url; }, 10, 2);

The second option is safer if you are not sure who registered the taxonomy originally, as it simply disables canonical redirects whenever HUSKY is active on the page.