Forums › Forums › Search & Filter Pro › Searching Taxonomy Archives – results show on a different page
Tagged: archive taxonomy search, Results page
- This topic has 27 replies, 3 voices, and was last updated 4 years, 8 months ago by
Ross.
-
Trevor(Private) December 21, 2020 at 11:20 am #270461
You are correct, try it on the live site first. On the site where it does not work, if I am reading your reply correctly, it depends how the field is set as to whether it works or not, and that this happens only after a number of fields are added. It might be an issue with the PHP variable max_input_vars (the PHP installation default for that variable is 1000, which is rarely anywhere near enough for WordPress).
So, that would be something I would check. The setting can be seen in WordPress admin, here:
Anonymous(Private) December 21, 2020 at 1:38 pm #270515Hi
I have changed the setting to 2500
Not sure I am making progress here. In trying to experiment in the dev site I have encountered different issues to those I experience on the live site.
Perhaps I should try a new avenue?
Two issues on live site:
1. The search results will not be displayed on the archive page the form is on
2. When redirecting it goes to /trucks-for-sale/ rather than a page I determine that does not have the taxonomy filters set in the resultsIf I could either
1. stop the redirect
2. specify a page for the generic search to land onThen It would work OK
Background to the above
When the redirect happens on the live site and it goes to the /trucks-for-sale/ page, this is because this is the name of the ‘post type’ slug and therefore the default post archive page.
I know this because I removed the redirect from ‘listings’ as the CPT slug on the dev site and the search form now redirects to /listings/ when it gets stuck.
Thanks
Jason
-
AuthorPosts