Advertisement
Guest User

Untitled

a guest
Mar 4th, 2015
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. require( dirname( __FILE__ ) . '/red/wp-blog-header.php' );
  2.  
  3. /var/www/html
  4. |
  5. --------project01
  6. |
  7. -------- index.php /* modified as described above */
  8. |
  9. -------- red
  10. |
  11. -------- wp-config.php
  12. |
  13. -------- wp-content
  14. |
  15. -------- /* Other WordPress files and directories */
  16.  
  17. /var/www/html
  18. |
  19. --------project01
  20. |
  21. -------- index.php /* modified as described above */
  22. |
  23. -------- red
  24. |
  25. -------- wp-config.php
  26. |
  27. -------- green /* this is a renamed wp-content directory */
  28. |
  29. -------- /* Other WordPress files and directories */
  30.  
  31. define('WP_CONTENT_FOLDERNAME', 'green');
  32. define('WP_CONTENT_DIR', ABSPATH . WP_CONTENT_FOLDERNAME);
  33.  
  34. define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/');
  35. define('WP_CONTENT_URL', WP_SITEURL . 'project01' . '/' . 'red' . '/' . WP_CONTENT_FOLDERNAME);
  36.  
  37. require_once(ABSPATH . 'wp-settings.php');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement