Admin SSL redirect error
-
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]
- The topic ‘Admin SSL redirect error’ is closed to new replies.