• I managed to fix the too many redirects error by someone’s suggestion to add to the wp_config:

    define( ‘WP_HOME’, ‘https://tei.ma’ );
    define( ‘WP_SITEURL’, ‘https://tei.ma’ );

    However I do note it is http and not https, should I care?

    Also adding either the below two lines or the whole batch of code below breaks

    define( ‘WP_HOME’, ‘https://tei.ma’ );
    define( ‘WP_SITEURL’, ‘https://tei.ma’ );

    /* SSL Settings */
    define(‘FORCE_SSL_ADMIN’, true);

    if( strpos($_SERVER[‘HTTP_X_FORWARDED_PROTO’], ‘https’) !== false )
    $_SERVER[‘HTTPS’] = ‘on’;
    else
    $_SERVER[‘HTTPS’] = ‘off’;

    For context, I am using cloudflare, and the errors started after troubleshooting with healthcheck (wanted to have a check in place and see what it got me…) and adding as to its request wp_super_cache. (Currently all plugins are deactivated to fix the error)

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

Viewing 1 replies (of 1 total)
  • In Cloudflare, is SSL mode set to “Full”? Not having it set to full can cause too many redirect errors in browser.

    I don’t know what your problem was before, but it could have been that too?

Viewing 1 replies (of 1 total)
  • The topic ‘Admin SSL redirect error’ is closed to new replies.