Answers for "wordpress redirect too many times"

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
1

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
Posted by: Guest on December-19-2020
-1

wp-admin too many times redirect wordpress

if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)
   $_SERVER['HTTPS']='on';
Posted by: Guest on June-15-2020

Code answers related to "wordpress redirect too many times"

Browse Popular Code Answers by Language