Last active
July 29, 2016 22:08
-
-
Save jennimckinnon/2f6cc79c75556bfa771f7d09a5561856 to your computer and use it in GitHub Desktop.
Creating custom WordPress file structure, via Maurizio Pelizzone at WCEU 2016 http://wordpress.tv/2016/07/01/maurizio-pelizzone-wordpress-hardening-ten-tips-in-ten-minutes/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| define('WP_CONTENT_DIR', dirname(__FILE__) . '/public'); | |
| define('WP_CONTENT_URL', 'http://' . $_SERVER['HTTP_HOST'] . '/public'); | |
| define( 'WP_UPLOADS_DIR', dirname(__FILE__) . '/uploads' ); | |
| define('WP_SITEURL', 'http://' . $_SERVER['SERVER_NAME'] . '/application'); | |
| define('WP_HOME', 'http://' . $_SERVER['SERVER_NAME']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment