[wp-testers] Wordpress 3.0 Beta 2 - Permalinks forced index.php

Matt Martz matt at sivel.net
Fri May 7 22:44:34 UTC 2010


On Fri, May 7, 2010 at 5:31 PM, Scott Evans <scottsweb at gmail.com> wrote:
> When trying to setup permalinks in this version it is forcing me to have
> index.php prefix the URL:
>
> /index.php/%category%/%postname%/
>
> I am using this on the same server where I have permalinks working
> correctly without index.php. I believe this has something to do with
> an error I am seeing when testing the MU features in 3.0 too. When
> visiting the "tools->network" page, I see this message:
>
> "Warning! It looks like the Apache mod_rewrite module is not installed."
>
> Would be interested to see if there are any tips for testing/fixing this.

This is likely because you are running PHP as fastcgi on your server.
WordPress cannot reliably detect mod_rewrite in such configurations.

In such cases I use the following code in a custom plugin:

add_filter('got_rewrite', '__return_true');

-- 
Matt Martz
matt at sivel.net
http://sivel.net/


More information about the wp-testers mailing list