Right now, when a user applies a search or filter on the listings page, they are redirected to the home page with query parameters, like this: Example Domain
The problem:
Every time a user searches or filters, they’re redirected away from the listings page to the homepage.
As a result, search engines see the /listings/ page as having little or no value, since users always end up on the homepage.
This same issue occurs on dynamically generated pages - such as category pages or pages generated from attributes.
Is it possible to prevent this redirect so that users remain on the same URL (e.g., /listings/) when they search or filter results?
This is the standard WordPress search URL, not the homepage – WordPress uses the search results layout if the “s” and optional “post_type” parameters are available in the URL query. If you want to add some URL base to this URL this may be possible, but requires some code tweaks – you can try this one (or other solutions by “change wordpress search base permalink” query) https://stackoverflow.com/questions/40786726/how-to-change-search-permalink-in-wordpress
I understand that this behavior comes from WordPress itself rather than HivePress. However, I’m wondering if there’s a way to prevent this redirect? For example, can the filtered listings be updated in real time on the same page (e.g., /listings/), instead of performing a new search using the native WordPress query parameters?
In other words, is it possible to apply filters dynamically without changing the URL or reloading the page?
We’re planning to implement AJAX search in future updates. At the moment, the search results load after clicking the Search button, but real-time filtering is on our roadmap.
While we can’t provide a specific ETA, requests from users (including yours) help us prioritize new features, and we’ll do our best to include this in one in the upcoming updates.