Search Bar Not Working
Fix the RepairPlugin search bar that redirects to the wrong page or doesn't work by setting a custom base URL.
What can you do with this?
- Fix the search bar that redirects visitors to the wrong page
- Stop 404 errors when customers search for a device
- Set a custom base URL so the search bar always points to the right page
- Make sure customers land on your booking page when they search for their device
Example: A customer types "iPhone 15" in the RepairPlugin search bar on your homepage. Instead of landing on your repair booking page, they end up on a 404 error page or a completely unrelated page. Setting the correct base URL fixes this instantly.
Where to find it
- Go to RepairPlugin > Settings > Plugin Shortcode
- Find the Base URL setting
How to fix it
Why it happens
RepairPlugin's search bar redirects visitors to the page where your [Repair_All] shortcode is placed. By default, RepairPlugin tries to detect this page automatically. When that detection fails, the search bar sends visitors to the wrong place.
Set a custom base URL
- Go to RepairPlugin > Settings > Plugin Shortcode
- Find the Base URL setting
- Change it from Automatic to Use My Custom Link
- Enter the full URL of the page where your
[Repair_All]shortcode is placed (e.g.,https://yourwebsite.com/repair) - Click Update
If it still doesn't work
- Make sure the
[Repair_All]shortcode is actually on the page you specified - Clear your caching plugin's cache after making the change
- Test in a private/incognito browser window to rule out old cached pages
- Contact support at support@repairplugin.com if the problem continues
Settings reference
| Setting | Description | Default | Customers see |
|---|---|---|---|
| Base URL | Controls where the search bar redirects visitors. Set to "Automatic" by default — switch to "Use My Custom Link" and enter your repair page URL if the search bar isn't working correctly | Automatic | When they search for a device, they're taken to the page you've specified instead of a wrong or broken link. |
Frequently asked questions
Why doesn't automatic detection work on my site?
Automatic detection can fail if your [Repair_All] shortcode is inside a page builder block, on a page with an unusual slug, or if you have multiple pages with RepairPlugin shortcodes. Setting the base URL manually is the most reliable solution.
I have multiple locations with different repair pages. Can I set different base URLs?
The Base URL setting applies globally. If you use multiple pages with RepairPlugin shortcodes for different locations, set the base URL to your main repair page and make sure visitors can navigate to location-specific pages from there.