If the search button is not redirecting you to the search results page check the following settings.
WordPress Permalinks
For the search redirect to work, Go to Settings -> Permalinks and set the Common Settings to Post Name
Advanced Search Results Page
This is the page where you will be redirected when the Search button is clicked.
It needs to be created by the admin from the Pages section.
Typically, this page is imported along with the demo content.
Important Notes:
- The page must be Published.
- The Advanced Search Results page is not suitable as a homepage or to be added as a page in the menu.
- This page cannot be edited with a page builder (Elementor or WPBakery).
Check the Theme Installation
If the previous steps don’t resolve the issue, it’s important to verify your theme installation.
🚫 Incorrect Installation Example:
If the theme folder is nested inside another folder with the same name (e.g., wprentals/wprentals), WordPress may detect duplicate page templates. This causes confusion and prevents WordPress from identifying the correct template to use.
✅ Correct Installation:
You should only have one theme folder located at:
wp-content/themes/wprentals
Fixing the Issue:
- Remove any duplicate or incorrectly nested theme folders.
- Keep only the correct wprentals theme folder.
- After fixing the structure, edit and re-save all custom page templates to ensure WordPress registers them properly.
For full instructions, see: