Main Site Images 404 Error
-
I’ve used WordPress MS a few times now without trouble, however my current version is really troubling me and I can’t find any other posts with the same problem. I have four sites setup, site ID 1 is mydomain.com and the next 3 sites are mydomain.com/sitename/ (using sub-folders)
I can view all four sites just fine, however only the images in my sub-sites work, the sites using the blogs.dir folder for uploads. When I upload images to my first site, the images go to wp-content/uploads/. I can see them using my ftp program, but if I direct to them in my browser, I receive a 404 error. I copied the htaccess code exactly as given so I don’t understand why it is doing this. Could someone help me out please? Thank you!
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]
- The topic ‘Main Site Images 404 Error’ is closed to new replies.