This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Issue with Search URL Not Returning Results

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Issue with Search URL Not Returning Results

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #53176
    Sandra SusinSandra Susin
    Participant

    Hello,

    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,
    Sandra

    #53178
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi 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.

    #53184
    Sandra SusinSandra Susin
    Participant

    Thank 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?

    #53189
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You 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.

    #53190
    Sandra SusinSandra Susin
    Participant

    It’s already that way

    #53193
    Ernest MarcinkoErnest Marcinko
    Keymaster

    All 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.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.