Skip to content

Instantly share code, notes, and snippets.

@zguillez
Created July 6, 2023 14:13
Show Gist options
  • Save zguillez/3ff3fd205e76f2c86fc0afd5b8155043 to your computer and use it in GitHub Desktop.
Save zguillez/3ff3fd205e76f2c86fc0afd5b8155043 to your computer and use it in GitHub Desktop.
wp-config domain
define('WP_HOME','https://' . $_SERVER['SERVER_NAME']);
define('WP_SITEURL','https://' . $_SERVER['SERVER_NAME']);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment