Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 2nd, 2013  |  syntax: None  |  size: 0.83 KB  |  views: 51  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. define('MULTISITE', true);
  2. define('SUBDOMAIN_INSTALL', false);
  3. define('DOMAIN_CURRENT_SITE', 'localhost/wordpress');
  4. define('PATH_CURRENT_SITE', '/wordpress/');
  5. define('SITE_ID_CURRENT_SITE', 1);
  6. define('BLOG_ID_CURRENT_SITE', 1);
  7.        
  8. RewriteEngine On
  9. RewriteBase /wordpress/
  10. RewriteRule ^index.php$ - [L]
  11.  
  12. # add a trailing slash to /wp-admin
  13. RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
  14.  
  15. RewriteCond %{REQUEST_FILENAME} -f [OR]
  16. RewriteCond %{REQUEST_FILENAME} -d
  17. RewriteRule ^ - [L]
  18. RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
  19. RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
  20. RewriteRule . index.php [L]
  21.        
  22. define('DOMAIN_CURRENT_SITE', 'localhost/wordpress');
  23. define('PATH_CURRENT_SITE', '/wordpress/');`
  24.        
  25. define('DOMAIN_CURRENT_SITE', 'localhost');
  26. define('PATH_CURRENT_SITE', '/wordpress/');
clone this paste RAW Paste Data