Skip to:
Content
Pages
Categories
Search
Top
Bottom

Why does a page named /search redirect to members search?

  • Avatar of Nm
    nm
    Participant

    @nahummadrid

    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.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Avatar of Nm
    nm
    Participant

    @nahummadrid

    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/

    Avatar of Paul Gibbs
    Paul Gibbs
    Keymaster

    @djpaul

    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 :)

    Avatar of Paul Gibbs
    Paul Gibbs
    Keymaster

    @djpaul

    even though*

    Avatar of Nm
    nm
    Participant

    @nahummadrid

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

    Avatar of Paul Gibbs
    Paul Gibbs
    Keymaster

    @djpaul

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

    Avatar of Nm
    nm
    Participant

    @nahummadrid

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

    …what’s another word for search :)

    Avatar of pcwriter
    pcwriter
    Participant

    @pcwriter

    How about these…
    find
    explore
    ask
    query

    Avatar of Boone Gorges
    Boone Gorges
    Keymaster

    @boonebgorges

    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.

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

You must be logged in to reply to this topic.