[wp-hackers] Permalinks via 404
Ryan Boren
ryan at boren.nu
Sat Sep 4 07:45:47 UTC 2004
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.
Ryan
More information about the hackers
mailing list