Skip to content

Instantly share code, notes, and snippets.

@mrksdiehl
Created November 10, 2016 14:15
Show Gist options
  • Save mrksdiehl/5f8e208b2b6475968e3262efe0c06fdc to your computer and use it in GitHub Desktop.
Save mrksdiehl/5f8e208b2b6475968e3262efe0c06fdc to your computer and use it in GitHub Desktop.
<?php
/**
* require this file in wp-config.php before "require_once(ABSPATH . 'wp-settings.php');"
**/
define ('WP_CONTENT_FOLDERNAME', 'assets');
define ('WP_CONTENT_DIR', ABSPATH . WP_CONTENT_FOLDERNAME) ;
// For SSL change to https
define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/');
define('WP_CONTENT_URL', WP_SITEURL . WP_CONTENT_FOLDERNAME);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment