wordpress home page too many redirects code example
Example 1: wordpress https too many redirects
define('WP_HOME','https://mywebsite.com');
define('WP_SITEURL','https://mywebsite.com');
$_SERVER['HTTPS'] = 'on';
Example 2: 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:
Example 3: wordpress This page isn’t workingnewconstructionslondon.co.uk redirected you too many times. Try clearing your cookies. ERR_TOO_MANY_REDIRECTS
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');