Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] BBPress forum search not working


  • JaneAkshar
    Participant

    @janeakshar

    When I try and search the forums I get no results and returned to the home page

    website chinnockswharf.website

    Theme Custom Community

    It is a member site and you can use user bbPress password bbPress

Viewing 8 replies - 1 through 8 (of 8 total)

  • Henry Wright
    Moderator

    @henrywright

    Hi @janeakshar

    Try asking over at bbPress. They should be able to help with bbPress-related questions like this.

    Ref: https://bbpress.org/forums/


    JaneAkshar
    Participant

    @janeakshar


    JaneAkshar
    Participant

    @janeakshar

    @henrywright how can you get someone to look at a query


    Henry Wright
    Moderator

    @henrywright

    …how can you get someone to look at a query

    The forum is volunteer run and there’s no way to get paid support. We don’t usually advise this but I guess you could try bumping your topic?


    JaneAkshar
    Participant

    @janeakshar

    @henrywright is the forums seriously to only way to get support paid or free


    themichaelglenn
    Participant

    @themichaelglenn

    When I try and search the forums I get no results and returned to the home page

    I’m having this same problem and it is definitely an issue that is caused by BuddyPress. I’m using WordPress 4.6.1 with the TwentySixteen Theme, bbPress 2.5.10, and BuddyPress 2.6.2.

    When I deactivate all bbPress related plugins, the search still sends me back to the home page. When I deactivate BuddyPress – the search works exactly the way it’s supposed to.

    Is there a file in the BuddyPress theme that I can modify/remove/replace, that will correct this issue?


    r-a-y
    Keymaster

    @r-a-y

    I cannot duplicate your problem.

    I’m trying the search form from example.com/forums. In the WP admin dashboard’s “Settings > Forums” page, I have “Allow forum wide search” checked as well.

    You might want to refresh your permalinks at “Settings > Permalinks”. Sometimes that helps.

    Also, check your search slug in “Settings > Forums” and make sure it has no spaces:
    https://bbpress.org/forums/topic/bbpress-search-function-doesnt-return-results-goes-to-home-page/#post-174545


    themichaelglenn
    Participant

    @themichaelglenn

    @r-a-y

    I found out what was causing the problem for me. I don’t know if the cause is the same for the OP.

    In forum settings, I had unchecked the “Forum Prefix” box (the one that prefixes all forum pages with the root slug “Forums.”) I also had the Search slug set to the default “search.”

    This left the forum search results “script” if you can call it that, pointing to domain.com/search – which I gather is the default search URL for WordPress and BuddyPress?

    Without BuddyPress installed, the forum search still worked, but with BuddyPress installed – nothing. And yet, it was NOT BuddyPress, it was my own lack of understanding. 🙁

    I hadn’t realized that the root search slug, without forums in front of it, would cause a problem. But I did some digging around in all this and discovered that both the twentysixteen theme, and BuddyPress, have pages called “search.php” – so naturally, domain.com/search would point to one of those scripts, and not to bbPress search results. (bbPress does not have a search.php page)

    Anwyay, when I check the Forums Prefix box, and search the forums, the results page loads at domain.com/<strong>forums</strong>/search and everything works perfectly.

    Unforunately I’m using a plugin for bbPress that changes the URL structure and requires me to leave the Forum Prefix box unchecked. But, I found a way around that too – in Forum Settings, I simply changed the search slug to search-results and again, everything works perfectly (and the URL for search-results is now domain.com/search-results which in no way conflicts with domain.com/search)

    I have to say, had you not mentioned the search slug in your response, it never would have occurred to me that it would be the cause of all my frustration. I’m glad to have this resolved, and hope that my explanation is enough that it will be able to help anyone else who might run into the same issue.

    EDIT

    I’ve also discovered that I can set the search slug to forums/search which effectively accomplished the same thing as leaving it on search whilst checking the Forum Prefix box. i.e. they both return the URL as domain.com/forums/search which may not be a huge deal, but it does seem to look prettier than any other URL…

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