Skip to content

Instantly share code, notes, and snippets.

@jcamp
Forked from barbwiredmedia/wp-config.php
Created July 7, 2018 10:45
Show Gist options
  • Save jcamp/81735475bf93ab8d4ea181dd8176c35a to your computer and use it in GitHub Desktop.
Save jcamp/81735475bf93ab8d4ea181dd8176c35a 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