Media Files 404 Error Multisite
-
OK so yesterday i made some changes to the .htaccess file as told by a message in wordpress, and tried to make my multisite a single site and failed. Made the changes but the media files stopped showing up. I then reverted back to a 2 day old wp-config.php file and .htaccess as those were the only two i touched.
This should be showing an image but it dosent:
http://syssu.com/files/2010/04/NHL-GameCenter-Live-Home-Screen.jpgReal upload path as i did some hunting around to find out its:
/wp-content/blogs.dir/1/files/2010/04/NHL-GameCenter-Live-Home-Screen.jpgBUT when i try to view that file in the browser i get the 404 error yet again. Im not sure if its a permissions issue or a .htaccess file issue but Id like to get it fixed. Here is my .htaccess file for you to take a look at.
RewriteEngine On RewriteBase / #uploaded files RewriteRule ^(.*/)?files/$ index.php [L] RewriteCond %{REQUEST_URI} !.*wp-content/plugins.* RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L] # add a trailing slash to /wp-admin RewriteCond %{REQUEST_URI} ^.*/wp-admin$ RewriteRule ^(.+)$ $1/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule . - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L] <IfModule mod_security.c> <Files async-upload.php> SecFilterEngine Off SecFilterScanPOST Off </Files> </IfModule>
Thank you in advance!
- The topic ‘Media Files 404 Error Multisite’ is closed to new replies.