Skip to:
Content
Pages
Categories
Search
Top
Bottom

Register Page redirects to wp-admin page

  • Profile photo of Andrea Reed
    Andrea Reed
    Participant

    @canadadre

    Hi. When a new visitor clicks on the Register button, the link is set to go to the /register page. However it redirects to /wp-admin.php which then redirects to /wp-login.php and they have to click Register again and it is very confusing. I have done many searches on this to see why it redirects and cannot find a solution. Has anyone else come across this? I would just like the register link to go to the /register page so new visitors can complete the BuddyPress registration easily. Thanks.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Hi @canadadre

    Which theme are you using?

    Profile photo of Andrea Reed
    Andrea Reed
    Participant

    @canadadre

    Canvas by WooThemes. Thanks!

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    That’s a premium theme so unfortunately I don’t have access to the code. Try searching the theme’s code for wp_redirect or bp_core_redirect – the aim is to find out where the redirect to wp-admin.php is happening and then remove it. To my knowledge, this isn’t something that BuddyPress core does, so the issue is likely to be either plugin or theme related (most likely your theme).

    Profile photo of @mercime
    @mercime
    Keymaster

    @mercime

    @canadadre Last time we checked, Canvas was not compatible with BuddyPress. Have you checked with woo if it supports BP now? cc: @henrywright

    Profile photo of Andrea Reed
    Andrea Reed
    Participant

    @canadadre

    @mercime Interesting… I used this child theme and have continued with my own modifications.

    http://www.pootlepress.com/shop/woothemes-canvas-and-bbpress-fix/

    What do you think? I hadn’t even considered Canvas not being compatible. I will send Woo a ticket.

    What about Genesis?

    Thanks!

    Andrea

    Profile photo of Henry Wright
    Henry Wright
    Moderator

    @henrywright

    Last time we checked, Canvas was not compatible with BuddyPress

    @mercime that explains these redirection problems :)

    Profile photo of Andrea Reed
    Andrea Reed
    Participant

    @canadadre

    What’s the best theme to use with BuddyPress? Thanks. I think this may explain a lot…

    Profile photo of @mercime
    @mercime
    Keymaster

    @mercime

    @canadadre Please do confirm with woo first about compatibility with BP. As for Genesis themes, they have https://wordpress.org/plugins/genesis-connect-for-buddypress/ but it’s always best to confirm with them first

    @henrywright :)

    Profile photo of sokrates
    Sokrates
    Participant

    @sokrates

    Hi @canadadre and @mercine

    Ron R. advises that this plugin is no longer required with BuddyPress v2 onwards

    To solve your redirection problem in a Genesis child theme, simply create a file in your Genesis child theme called register.php

    Copy the contents of page.php from the main Genesis theme into this file and save.

    Create a new page in the Dashboard e.g. “my new registration page”, assign it as the registration page in the Dashboard > Settings > BuddyPress > Pages et voila!

    From my admittedly limited understanding, copying the legacy templates across from the plugin into your child theme as per the BuddyPress Codex doesn’t work with Genesis – please correct me if I’m wrong dear reader!

    Profile photo of sokrates
    Sokrates
    Participant

    @sokrates

    Silly me – copy the legacy templates over to your child theme …… but don’t forget to add the following line to your child theme’s function.php file:

    add_theme_support( 'buddypress' );

    Doh! My excuse – it’s a Friday afternoon!

    Profile photo of arpit2011
    arpit2011
    Participant

    @arpit2011

    I don’t know how to set registration page in buddy press. can you please help me?

    Profile photo of sokrates
    Sokrates
    Participant

    @sokrates

    Hi @arpit2011,

    Logon to your site Dashboard and from the settings sidebar item select BuddyPress.

    At the top of the BuddyPress settings page you will see three tabs: components, pages and settings. Click on the pages tab, and from here you will see an option to select the register page. Unless you create a new custom registration page in your theme (called register.php), you won’t see much of a difference from the default registration page :-)

    Profile photo of arpit2011
    arpit2011
    Participant

    @arpit2011

    Hello Sokrates,

    I done this step already, but i can not see any content on registration page.

    so what should i do?
    i have to create my own form or buddy press give it????

    Profile photo of sokrates
    Sokrates
    Participant

    @sokrates

    Hi Arpit2011,

    Either

    1. Copy the register.php page from the BuddyPress plugin bp-templates\bp-legacy\buddypress\members directory into the root of your theme directory and amend it to your requirements

    or

    2. Install Gravity forms and the Gravity forms user registration plugins and create a form that maps to the extended BuddyPress profiles, and insert it into the page you have chosen in BuddyPress settings.

    After doing either, make sure you have the following in your theme functions.php file

    add_theme_support( ‘buddypress’ );

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Register Page redirects to wp-admin page’ is closed to new replies.