Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

ERR_TOO_MANY_REDIRECTS for wp-admin

if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)
   $_SERVER['HTTPS']='on';
else
   $_SERVER['HTTPS']='off';
Source by wordpress.stackexchange.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
4+5 =