Hi
I use this rules with apache mod_rewrite
[quote=apache]
RewriteEngine On
RewriteBase /
#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [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]
[/quote]
and this on nginx
[quote=nginx]
rewrite ^/(.*/)?files/$ index.php last;
rewrite ^/(.*/)?files/(.*) wp-content/blogs.php?file=$2 last;
if (!-e $request_filename) {
rewrite ^/([_0-9a-zA-Z-]+/)?(wp-.*) $2 last;
rewrite ^/([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 last;
rewrite ^/(.*)$ index.php last;
}
[/quote]
but, dont work fine.... any help?? THANKS!!!!!