[wp-hackers] RE: .htaccess cleanup

Kimmo Suominen kimmo+key+wordpress.c4f53f at suominen.com
Sun May 22 19:00:07 GMT 2005


I have those rules commented out in my .htaccess, but I haven't put in a
comment on why I'm not using them.

I did some experimenting now, and the rules work fine except that I never
get a 404 error for URL's that don't exist.  I just get the "root blog"
page (i.e. most recent posts).

Regards,
+ Kim
-- 
<A HREF="http://kimmo.suominen.com/">Kimmo Suominen</A>

On Sun, May 22, 2005 at 11:39:07AM -0700, Jonathan Dingman wrote:
> Not sure if anyone has taken a look at this, but BigJibby (aka Matt) in 
> #wordpress saw this code written by boren and it is pretty simple, gets the 
> job done I think:
> 
> 
>    1. # WordPress Stuff
>    2. RewriteCond %{REQUEST_FILENAME} !-f
>    3. RewriteCond %{REQUEST_FILENAME} !-d
>    4. RewriteRule ^(.+)$ /index.php/$1
>    
> I've been using that code for quite a while now and nothing has ever been 
> broken and it has worked perfectly. Just my 2 cents for you guys to think 
> about.


More information about the wp-hackers mailing list