wordpress https too many redirects
define('WP_HOME','https://mywebsite.com');
define('WP_SITEURL','https://mywebsite.com');
$_SERVER['HTTPS'] = 'on';
wordpress https too many redirects
define('WP_HOME','https://mywebsite.com');
define('WP_SITEURL','https://mywebsite.com');
$_SERVER['HTTPS'] = 'on';
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';
too many redirects wordpress
Issue was solved by removing the .htaccess file as .htaccess files was containing
<FilesMatch ".(phtml|php|PhP|php5|suspected)$">
Order Allow,Deny
Deny from all
</FilesMatch>
reference :
https://cwiki.apache.org/confluence/display/HTTPD/ClientDeniedByServerConfiguration
wp-admin too many times redirect wordpress
if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)
$_SERVER['HTTPS']='on';
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us