Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

A moved a standalone wordpress install to be one of a network, but the possibility to access the uploaded files with the same URL is need to be kept.

I'm trying to get the following rewrite rule to work, without success:

RewriteCond %{HTTP_HOST} ^(.*)?domain\.com
RewriteRule ^/wp-content/uploads/(.*)$ /wp-content/blogs.dir/3/files/$1 [L]

What do I miss?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

OK, I've found it by testing all of the combinations, I could imagine:

RewriteCond %{HTTP_HOST} ^(.*)domain\.com
RewriteRule ^wp-content/uploads/(.*)$ wp-content/blogs\.dir/3/files/$1 [L]
share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.