Skip to content

Instantly share code, notes, and snippets.

@mohamad-supangat
Created April 23, 2022 06:36
Show Gist options
  • Save mohamad-supangat/f77b6756159a9892ac2aa124c2aca92b to your computer and use it in GitHub Desktop.
Save mohamad-supangat/f77b6756159a9892ac2aa124c2aca92b to your computer and use it in GitHub Desktop.
Fixing loop to many redirect wordpress
<?php
// in wp-config.php
$_SERVER['HTTPS'] = 'on';
/*That’s all, stop editing! Happy blogging. */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment