[wp-testers] Forced custom permalink structure with PATHINFO?
Dion Hulse (dd32)
wordpress at dd32.id.au
Sat Apr 24 02:54:59 UTC 2010
Some logic was changed recently (by me) which might've caused it.
The check for forcing it is:
79 if ( ! got_mod_rewrite() && ! $iis7_permalinks )
80 $prefix .= '/index.php';
If you're running IIS7 then you shouldnt be seeing it.
If you're running something else, you may need to force WordPress to
add_filter('iis7_supports_permalinks', '__return_true'); //__return_true
is a 3.0 function, that does what it says..)
You can put that in a plugin, or in a theme functions.php file, or in a
/wp-content/mu-plugins/force-iis_permalinks.php file, etc.
On Sat, 24 Apr 2010 11:58:14 +1000, HelixGalaxy <helixgalaxy at gmail.com>
> Downloaded the latest nightbuild and after installing I see that when I
> to set the custom permalink structure is forced on me with /index.php in
> Why and how can this be removed? Is it a bug?
> It wasn't a problem some nights ago ...
> Yes I run IIS on WIndows, but have no problem with mod_rewrite
> wp-testers mailing list
> wp-testers at lists.automattic.com
Dion Hulse / dd32
e: contact at dd32.id.au
msn: msn at d32.id.au
More information about the wp-testers