The MU forums have moved to WordPress.org

Mod_rewrite/permalinks (1 post)

  1. moose123
    Member
    Posted 16 years ago #

    Hello,

    I am mod_rewrite challenged, so please forgive my ignorance.

    I am running WPMu 1.3 and am trying to activate permalinks for the first time on one particular blog (http://mysite/blog2).

    I want to create a pretty permalink to a particular category of posts and make it a direct link from the theme's page links.

    I created a custom base for my category:

    http://mysite/blog2/category/Video/

    ...and copied and pasted the mod_rewrite code from the permalink page into my .htaccess file. The result was an Apache 500 error. I removed the code from .htaccess and my site is back up but I now have the "You should update your .htaccess now" message in my permalink page.

    My .htaccess file looks like this:

    ------------------------------
    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]
    ------------------------------

    Can someone suggest what I might be doing wrong?

    Any help is much appreciated.
    Thanks.

About this Topic

  • Started 16 years ago by moose123