[wp-hackers] Index.php

Ryan McCue ryanmccue at cubegames.net
Fri Dec 12 08:02:44 GMT 2008


RePost wrote:
> Also, I'm wondering, what is the index.php for in the WordPress
> permalinks rewrite, and is that necessary?
>
> # WordPress permalinks
> <IfModule mod_rewrite.c>
> RewriteEngine On
> RewriteBase /
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteRule . /index.php [L]
> </IfModule> 

Absolutely necessary. It redirects a request for any file or directory
that doesn't exist to index.php, where it's then handled within WordPress.

-- 
Ryan McCue
<http://cubegames.net/>



More information about the wp-hackers mailing list