[wp-hackers] Permalinks via 404

Tara Star tellme at climbtothestars.org
Sat Sep 4 09:31:07 UTC 2004


Ryan Boren wrote:
> Since people are noticing and commenting on this, I'll give it a
> mention.
> 
> Remove all of your rewrite rules.  Replace them with:
> 
> ErrorDocument 404 /index.php?error=404
> 
> If you're serving index.php out of a subdirectory, be sure to prefix
> it:  /wordpress/index.php?error=404.
> 
> You can use is_404() within index.php to handle the case where the
> requested URI could not be matched, or you can redirect to a separate
> 404 page.

but then you get a server error log full of 404's...

Steph aka bunny
--
http://climbtothestars.org/



More information about the hackers mailing list