Mar 15, 2010 at 1:40 PM
Edited Mar 16, 2010 at 2:05 AM
Pardon me for my lack of knowledge in all these rewrite rules because I am really new in it.
How I want the code to work is:
Whenever server is calling "http://blog.mydomain.com/files/2010/03/byl_big_b.jpg" ... it should be extracting contents from "wp-content\blogs.dir\1\files\2010\03\byl_big_b.jpg"
The full rules in my IIRF is shown below.
RewriteRule ^/artists/(.*)$ – [L]
RedirectRule ^/([^.?]+[^.?/])$ /$1/ [R=301]
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
RedirectRule ^/index\.php/(.*)$ /$1 [I,R=301]
RewriteRule ^/(?!index\.php|wp-|xmlrpc)(.*)$ /index.php/$1 [I,L]