Skip to content

Instantly share code, notes, and snippets.

@barbwiredmedia
Last active July 7, 2018 10:45
Show Gist options
  • Save barbwiredmedia/9532708 to your computer and use it in GitHub Desktop.
Save barbwiredmedia/9532708 to your computer and use it in GitHub Desktop.
Wordpress wp-config . Define Site URL and home when migrating to new URL or server, revisions count, SSL Force
//Define site URLS
define('WP_SITEURL', 'http://www.yoursite.net');
define('WP_HOME', 'http://www.yoursite.net');
//Change revision limits to keep database from overflowing
define( 'WP_POST_REVISIONS', 5 );
//Change to force SSL
define( 'FORCE_SSL_LOGIN', false );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment