• Resolved adp1505

    (@adp1505)


    Hello,

    I got a problem on my access to WP control panel. I tried to apply the HTTPS as it should be included in WordPress and now I can’t open WP-login and I have a message saying too much redirection. I know the problem is that I tried to force the HTTPS redirection and I would like to know if I can cancel this manipulation.

    Thank you for your help.

    adp1505

    The page I need help with: [log in to see the link]

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

    (@adp1505)

    Update of my problem :

    After digging in the wp-login.php via FTP, I found these lines :

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

    Do you think deleting these line will be enough to solve my problem ?

    Thread Starter adp1505

    (@adp1505)

    Finally I found a solution by manually deactivating the plugin and replace the url in config by http://www.example.com

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

The topic ‘Problem to access wp-login’ is closed to new replies.