Hi @themoin,
While a redirect issue might be a possibility, there are other common issues you might want to check as well. Here are some troubleshooting steps you can follow:
1. Ensure that your permalinks structure is set up correctly. Go to Settings -> Permalinks
in your WordPress dashboard and choose a permalink structure that suits your needs. Sometimes, resetting permalinks can fix search-related issues.
2. You can rebuild the search index using a plugin like “SearchWP” or by resetting it. Go to Settings -> Reading
and click on the “Save Changes” button to reset the search index.
3. Switch to a default WordPress theme (such as Twenty Twenty-One) and see if the search starts working. If it does, your theme might be the culprit.
4. Disable all plugins and check if the search function starts working. If it does, reactivate each plugin one by one to identify the one causing the issue. Some plugins might interfere with the default search functionality.
Have a great day!