lelokong -
Joined: 07 Aug 2008 Posts: 2
|
Posted: Thu Aug 07, 2008 6:50 pm Post subject: wordpressmu and urlwriting |
|
|
anyone got WPmu to work with this server before? i have most of it working but still have alot of glitches.
the question is whats the purpose and how do i put this line in urlrewrite, i dont get what - does.
RewriteRule . - [L]
Code: |
RewriteBase /blog/
#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]
|
this is what i have atm.
|
|