I am new to drupal. And I have a project that has a search block on the home page that redirects the user to a page based on the user's search terms. Everything works fine, but I have a frequently asked questions page that includes all the questions and a search block and tags
The problem is that when users search for terms on the homepage, they redirect the user to the question node.
https://example.com/faq/59915 not the frequently asked questions page and shows the user's question.
How can I solve that? Should I create an alter function to verify if it is a Frequently Asked Questions page to redirect the user to that page and show the question?
Thanks in advance.