Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

Why does a page named /search redirect to members search? (9 posts)

Started 9 months, 1 week ago by: Nahum

  • Profile picture of Nahum Nahum said 9 months, 1 week ago:

    I’m trying to create a page template on a page named /search but it gets redirected to /members/?s=

    how can I avoid this.

  • Profile picture of Nahum Nahum said 9 months ago:

    I still haven’t figured out why a wp page slug /search does not work with buddypress/bp-default — I’m trying to house a search page but it either redirects to /members/?s= or the homepage.

    Any clues/

  • Profile picture of Paul Gibbs Paul Gibbs said 9 months ago:

    Uh, yeah. We take “search” specifically, even know we don’t have a page mapping. We needed it to make our directory component searches to work in 1.5. Guess someone should document this on the codex :)

  • Profile picture of Paul Gibbs Paul Gibbs said 9 months ago:

    even though*

  • Profile picture of Nahum Nahum said 9 months ago:

    @djpaul that’s my “search” page! not 1.5′s!

  • Profile picture of Paul Gibbs Paul Gibbs said 9 months ago:

    As I said, BuddyPress 1.5 takes the “search” URL for itself.

  • Profile picture of Nahum Nahum said 9 months ago:

    hehe…it’s all good. 1.5 can take it.

    …what’s another word for search :)

  • Profile picture of pcwriter pcwriter said 9 months ago:

    How about these…
    find
    explore
    ask
    query

  • Profile picture of Boone Gorges Boone Gorges said 9 months ago:

    I think that BP should probably *not* be hijacking the ‘search’ slug, when a WP page has the same slug. (By “should” I mean that the catch_uri sequence is designed to do that, but that we should perhaps consider this a bug.) Might be worth a Trac ticket.