[wp-hackers] Help with redirect rule

Mark Jaquith mark.wordpress at txfx.net
Wed Jun 14 19:45:57 GMT 2006


On Jun 14, 2006, at 2:26 PM, Chris Williams wrote:

> My full .htaccess file is:
> -----
> ErrorDocument 404 /index.php?error=404
> # BEGIN WordPress
> <IfModule mod_rewrite.c>
> RewriteEngine On
> RewriteBase /
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteRule . /index.php [L]
> </IfModule>
> # END WordPress
> # RedirectMatch permanent (.*)index\.html$ $1index.php
> -----

If you are using PATHINFO permalinks (with /index.php/ in the  
middle), you shouldn't be using these WordPress rewrite rules.
--
Mark Jaquith
http://txfx.net/




More information about the wp-hackers mailing list