Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save brentini/bf0a65a4abe2f1d607c3e21c27449ab0 to your computer and use it in GitHub Desktop.
Save brentini/bf0a65a4abe2f1d607c3e21c27449ab0 to your computer and use it in GitHub Desktop.
Domain agnostic wordpress setup #wordpress
<?php
define('WP_HOME', "http://{$_SERVER['HTTP_HOST']}/");
define('WP_SITEURL', "http://{$_SERVER['HTTP_HOST']}/");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment