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

Search results URL is wrong

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Search results URL is wrong

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #21920
    laveryslaverys
    Participant

    Hello,

    I just installed your plugin (looks great). I have set up a search bar for the user directory. It seems to work fine as in it brings up the right results. However when you click on any of the items in the search results it goes to the wrong page. It should go (in theory) to the members profile page, but it defaults no any potential posts that they wrote or a not found page, neither of which I want. I’ve been through all the settings and I can’t find anything.

    How do I fix this please? Please note I am NOT a coder, so all this php stuff means nothing to me (sorry!). I am hoping that there is a simple button that I didn’t know to activate or press. Please let me know what newbie mistake I am making.

    Many thanks,

    Soraya

    #21929
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi Soraya,

    Thank you very much for the details. Can you please link me to a correct result page of a user? The results URL is requested from WordPress, but the user plugin that you have might use a different scheme. If I can see a correct URL, then I should be able to configure the plugin correctly.

    Thank you very much!

    #21930
    laveryslaverys
    Participant

    Hi Ernest,

    Thanks so much. Its currently defaulting to http://www.startuprichmond.com/author/nameofuser

    I need it to default to http://www.startuprichmond.com/profile/nameofuser.

    Many thanks for your help.

    Also, I want to set up other search bars. For instance, one that just searches a training section and another that just searches posts and comments and another that does forum searches only. Will the url need to be changed for each one of these?

    Kind regards,

    Soraya

    #21932
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    Thank you very much, luckily this is very easily resolvable.

    I have changed the following options under the General Options -> Users search panel: https://i.imgur.com/27kRjz2.png
    That’s it. You only need to change this on search instances, where the user search is enabled.

    I hope this helps!

    #21944
    laveryslaverys
    Participant

    Hi,

    Thanks for that. But it didn’t work. It is now defaulting to
    https://startuprichmond.com/directory/profile/nameofuser
    instead of
    http://www.startuprichmond.com/profile/nameofuser
    Its put directory in front of the url. Any other suggestions?

    Many thanks,

    Soraya

    • This reply was modified 7 years, 2 months ago by laveryslaverys.
    #21949
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Indeed, it was not working properly due to a yet unknown bug.

    I have corrected the issue via FTP within the plugin files. I will make sure to include this fix in the upcoming plugin releas, so you don’t have to worry about it anymore 🙂

    #21950
    laveryslaverys
    Participant

    Hi Ernest,

    Thanks so much. That’s amazing! Works perfectly. Really appreciate your help.

    Kind regards,

    soraya

    #21951
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

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