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 had an issue with a server that was serious enough to have to take it completely offline and then rebuild the os.

I have gotten to the point where the new server is up and running. I have managed to get all the wordpress files and database files transfered over to the new server.

The Problem

For some reason wordpress is not finding any of the images stored in the wp-content/blogs.dir/... folder.

One thing I did notice is that the htaccess file was not copied over, so my best guess is because wordpress reroutes via /folders/ etc that this may be the problem.

I did take the distrubtion .htaccess file that I was able to find and added that into the site, but it is not working.

Is htaccess the problem?

If so how do I regenerate one that will work for the multisite subdomain setup?


share|improve this question
up vote 1 down vote accepted

Here is the default .htaccess generated by Wordpress for Subdomain Multisite setup:

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

# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule . index.php [L]
# END WordPress

Let me know If this one doesn't work for you.

share|improve this answer
thanks for the file. This did not solve the problem of missing images but did solve other problems for me. I'm still investigating the images issue but getting closer. – shawn Jun 21 '11 at 10:08

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.