• Resolved ioanaandi

    (@ioanaandi)


    Hi there,
    i installed the plug-in a few days ago and it worked just fine…until today:) Today, when i tried to access page/wp-admin page it redirected me to the same page ( Members page where i set it to be the Login and Register page )
    Can you tell me please how to fix this?
    I practically log into the admin account , the menu bar is shown on the top of the page but when i access the Dashboard, for instance, it brings me to the same Members page

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ioanaandi

    (@ioanaandi)

    /** Make sure that the WordPress bootstrap has run before continuing. */
    require( dirname( __FILE__ ) . ‘/wp-load.php’ );

    // Redirect to HTTPS login if forced to use SSL.
    if ( force_ssl_admin() && ! is_ssl() ) {
    if ( 0 === strpos( $_SERVER[‘REQUEST_URI’], ‘http’ ) ) {
    wp_safe_redirect( set_url_scheme( $_SERVER[‘REQUEST_URI’], ‘https’ ) );
    exit();
    } else {
    wp_safe_redirect( ‘https://’ . $_SERVER[‘HTTP_HOST’] . $_SERVER[‘REQUEST_URI’] );
    exit();
    }

    Is it possible to be this redirection (SSL)the main problem?

    Hi @ioanaandi

    You are using the free version, right? We are not allowed to speak about the paid versions here.

    Please try to briefly remove that code and see if this fixes the problem.

    With best of regards,
    Gabriel

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘When i try to login with wp-admin, the page is redirected’ is closed to new replies.