Skip to:
Content
Pages
Categories
Search
Top
Bottom

Defining new register slug not working.


  • Tracedef
    Participant

    @tracedef

    We’re trying to do whatever we can to fight spam. We would like to change the slug of our registration page and have added the following to our wp-config, but nothing happens:

    define( ‘BP_REGISTER_SLUG’, ‘joinusnow’ );

    This has no effect on our registration slug, what are we missing? Any ideas?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Make sure you have not added anything below the “Stop editing!” line in wp-config.php.

    I’ve just confirmed this works on 1.2-beta.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    @tracedef, make sure the slug isn’t defined in more than one place, otherwise it might be getting defined ahead of where you are defining it. I know that you’re also running a custom theme, so is it possible that it’s hard-coded in your theme instead of referencing the constant?


    Tracedef
    Participant

    @tracedef

    Andy: You hit it on the head…. forgot about that pesky “Stop editing” line….. :)


    AndreMartin
    Participant

    @andremartin

    Adding BP_REGISTER_SLUG worked in terms of now the signup form is on a new page (the new slug) *but* the wp-login.php?action=register still points to /register which of course shows a “page not found” given the new slug is not “register”. I checked everywhere that I thought could be a “register” URL setting and the .htaccess but there is none. Where does that “/register” direction come from?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Defining new register slug not working.’ is closed to new replies.
Skip to toolbar