Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Issue with Search URL Not Returning Results
- This topic has 5 replies, 2 voices, and was last updated 1 year, 3 months ago by
Ernest Marcinko.
-
AuthorPosts
-
March 4, 2025 at 12:27 pm #53176
Sandra Susin
ParticipantHello,
We are experiencing an issue with the search functionality:
When searching via the search form, everything works correctly, and results appear as expected.
However, if we copy and send the search URL to someone, opening it in another browser results in a “No products found” message.
The same search terms, when entered manually into the search form, return the correct results.
For example:
🔹 This URL does not work:
https://kolboyehuda.co.il/?post_type=product&s=Narciso+rouge OR https://kolboyehuda.co.il/?post_type=product&s=Aqua+dubai (No results)
🔹 Manually searching “Narciso rouge” OR “Aqua dubai” in the form: ✅ Shows products correctly.Additionally, at some point, I may have changed a setting, and now the search generates a very long URL.
What we need help with:
Fix the issue so that the short search URL works when opened in another browser.
Once the issue is fixed, help us restore the short URL format instead of the long one.
Thanks in advance for your help!Best regards,
SandraMarch 4, 2025 at 5:04 pm #53178Ernest Marcinko
KeymasterHi Sandra,
The “long” url triggers the search override itself, that is perfectly fine. It’s generated when you search via the plugin search form.
Because you can have multiple search instances, some parateters have to be passed so the plugin knows which one is the override coming from.There still might be a way to force the override on the shorter urls. Can you please try changing the default search bars here: https://i.imgur.com/evdHspT.png
When the replacement is active, it should automatically override the search results from with the selected search bar.March 5, 2025 at 7:14 am #53184Sandra Susin
ParticipantThank you for your answer
what about the problem with the regular search link? if i turn off the plugin the link work fine, but when the plugin is on it doesn’t wok
🔹 This URL does not work:
https://kolboyehuda.co.il/?post_type=product&s=Narciso+rouge OR https://kolboyehuda.co.il/?post_type=product&s=Aqua+dubai (No results)
🔹 Manually searching “Narciso rouge” OR “Aqua dubai” in the form: ✅ Shows products correctly.how can i fix it?
March 5, 2025 at 8:41 am #53189Ernest Marcinko
KeymasterYou are welcome!
what about the problem with the regular search link?
Make sure to select the default search bars the same as the header search (search ID=3). That should resolve it.March 5, 2025 at 8:47 am #53190Sandra Susin
ParticipantIt’s already that way
March 5, 2025 at 4:11 pm #53193Ernest Marcinko
KeymasterAll right, that might indicate a conflict or a bug then.
Can you please add temporary back-end and (s)FTP details? I would like to debug the issue to see what exactly is going on in the codebase.
-
AuthorPosts
- You must be logged in to reply to this topic.