Public Ticket #2822883
Registration link issue


  • brndbuilder started the conversation

    Hi, so I have an issue. The registration link (you'll see in the screenshot attached) redirects to the wordpress login page which doesn't make ANY sense. If a customer needs to register, then you need to direct him to the "my account" page where he/she can create an account, the way I've set it up. I believe this is a general issue that you need to fix. 

    This is the page the "registration" link needs to direct to: https://fulleclectic.com/my-account/ and not /wp-login.php?action=register .

    Attached files:  Screen Shot 2021-07-10 at 19.17.11.png

  • brndbuilder replied

    I fixed that for myself when i added this code to my functions.php file:

    // Redirect Registration Page
    function my_registration_page_redirect()
        global $pagenow;
        if ( ( strtolower($pagenow) == 'wp-login.php') && ( strtolower( $_GET['action']) == 'register' ) ) {
            wp_redirect( home_url('/my-account'));
    add_filter( 'init', 'my_registration_page_redirect' );

    But i really think you should fix that for the theme in future!

  •  1,905
    Opal replied

    Dear mate,

    Glad your problem has been solved.

    Have a nice day.


    Opal Support Team

    We are located in GMT +7 time zone and we answer all questions within 12-48 hours in weekdays. In some rare cases the waiting time can be to 48 hours. Support tickets sent during weekends or public holidays will be processed next Monday or the next business day. 

    If you like our theme, Please vote it 5 stars. We are really really appreciate your vote :
    To vote go to http://themeforest.net/downloads then follow that link : http://screencast.com/t/ylPjXebiCIOE
    Thanks and have a nice day

    Website: http://wpopal.com/