Skip to content

Instantly share code, notes, and snippets.

@rotisoft
Created March 30, 2021 23:29
Show Gist options
  • Save rotisoft/306798db6181318ecc0fc78b3e767065 to your computer and use it in GitHub Desktop.
Save rotisoft/306798db6181318ecc0fc78b3e767065 to your computer and use it in GitHub Desktop.
/**
* Add that code to your WordPress site wp-config.php file.
* Replace the domain.tld to your site domain.
* Don't forget the https.
* Gist by Tamas Rottenbacher
* Source: https://wordpress.org/support/article/changing-the-site-url/
*/
define( 'WP_HOME', 'https://example.com' );
define( 'WP_SITEURL', 'https://example.com' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment