Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Source Data
This topic contains 7 replies, has 2 voices, and was last updated by Ernest Marcinko 6 years, 7 months ago.
- AuthorPosts
- April 18, 2017 at 12:18 pm #12738
Hi, I am trying to allow only certain pages to be available for search options. What is the best way to do this, I don’t want this searching through my entire site. Also, can I change my default page when no search is found? I appear to go to the same 404 error page –
Thx
Mike
April 18, 2017 at 4:27 pm #12742Hi Mike,
On the Advanced Options -> Exclude results panel you can choose options to exclude results based on multiple criteria: Excluding & Including results
Also, make sure that the search override is activated, so the search is allowed to override the default search results as well.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 18, 2017 at 10:00 pm #12746When I have no results, can I have it direct to go to a page that I decide rather than some wordpress random weird page –
BTW – most awesome plugin I have ever worked with
Mike
April 19, 2017 at 7:31 am #12751Hi!
Thank you very much for your kind words!
The redirection is not exactly how it works. The plugin basically takes the control from the default WP search and gives it back to it with the new results, and then the default wordpress search results page displays it. It’s very likely that the problem is there, unless something wrong with the configuration.
Best,
Can you please link me to a page where the search is active, so I can take a look at the redirection? I can’t seem to find it anywhere. Also, can you please fill your ticket with temporary log-in details, I would like to check your configuration as well.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 19, 2017 at 12:11 pm #12752You cannot access this content.April 19, 2017 at 12:24 pm #12753You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 19, 2017 at 12:43 pm #12754You cannot access this content.April 20, 2017 at 9:04 am #12760Hi Mike,
Your configuration looks okay to me, the redirections are correctly set.
When I type in something, which yields no results, for example ‘asdasdasd’, I’m redirected to the results page: https://i.imgur.com/TAcdsBq.jpg
Best,
This seems to be correct to me as well. If you want to change this page layout, I’m afraid you will have to make changes in the current theme you are using (perhaps by creating a child theme). Usually the search.php file in the theme directory is handling these requests and generates the output, I recommend checking that.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.