[wp-hackers] mod_rewrite weirdness

Elliotte Harold elharo at metalab.unc.edu
Sat Jun 16 14:19:18 GMT 2007

I'm having trouble using any permalink structure except the default 
query string format on a new blog. What's weird is that WordPress 2.1.3 
tells me to add these rules to my.htaccess file:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

However if I change the permalink structure to use dates or not use 
dates, it tells me to add the exact same rules. It never changes the 
rules to match the permalinks!

This can't be right, can it? What should I expect to see in mod_rewrite 
for different permalink structures?

This is the case whether I make the changes manually or make the file 
writable so WordPress can do it directly.

Any ideas?

Elliotte Rusty Harold  elharo at metalab.unc.edu
Java I/O 2nd Edition Just Published!

More information about the wp-hackers mailing list