Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require( dirname( __FILE__ ) . '/red/wp-blog-header.php' );
- /var/www/html
- |
- --------project01
- |
- -------- index.php /* modified as described above */
- |
- -------- red
- |
- -------- wp-config.php
- |
- -------- wp-content
- |
- -------- /* Other WordPress files and directories */
- /var/www/html
- |
- --------project01
- |
- -------- index.php /* modified as described above */
- |
- -------- red
- |
- -------- wp-config.php
- |
- -------- green /* this is a renamed wp-content directory */
- |
- -------- /* Other WordPress files and directories */
- define('WP_CONTENT_FOLDERNAME', 'green');
- define('WP_CONTENT_DIR', ABSPATH . WP_CONTENT_FOLDERNAME);
- define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/');
- define('WP_CONTENT_URL', WP_SITEURL . 'project01' . '/' . 'red' . '/' . WP_CONTENT_FOLDERNAME);
- require_once(ABSPATH . 'wp-settings.php');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement