Skip to content

Instantly share code, notes, and snippets.

@SalmanRavoof
Created October 9, 2019 20:30
Show Gist options
  • Save SalmanRavoof/bf40d94c91281fe42dff455a033d22f7 to your computer and use it in GitHub Desktop.
Save SalmanRavoof/bf40d94c91281fe42dff455a033d22f7 to your computer and use it in GitHub Desktop.
Force your WordPress site to use SSL on both frontend and backend.
define('FORCE_SSL', true);
define('FORCE_SSL_ADMIN',true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment