Answers for "too many redirects error wordpress"

PHP
0

wordpress https too many redirects

define('WP_HOME','https://mywebsite.com');
define('WP_SITEURL','https://mywebsite.com');
$_SERVER['HTTPS'] = 'on';
Posted by: Guest on December-23-2020
2

ERR_TOO_MANY_REDIRECTS wordpress

# update wp-config file
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');

#also add
define('FORCE_SSL_ADMIN', true);
if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)
    $_SERVER['HTTPS']='on';
Posted by: Guest on August-10-2020

Code answers related to "too many redirects error wordpress"

Browse Popular Code Answers by Language