WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I notice that when I rename the wp-content and plugins folders http://codex.wordpress.org/Editing_wp-config.php#Moving_wp-content my multisite network htacess still references wp-content: see this line below: RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]

# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
**RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]**
RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
RewriteRule . index.php [L]

What should the proper rewrite rule be if you move wp-content?

share|improve this question
Where are you moving it to? – Brian Fegter Aug 14 '12 at 4:00
+1 to know where you are moving the wp-content to. That should help to set the correct rewrite. – Pothi Aug 14 '12 at 5:01
If you go back to wp-admin/network/setup.php does it show you the new re-write rule? – Damien Aug 14 '12 at 7:23
@Damien, re your question- that code paste from above WAS from the wp-admin/network/setup.php so I was surprised that it did not reflect the new wp-content area (renamed private-content). – SamDom Aug 14 '12 at 15:36
@SamDom thanks .. interesting to know it doesn't update after you changed the value in wp-config – Damien Aug 14 '12 at 16:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.