[wp-hackers] Protecting a static dir

Jeremy Visser jeremy.visser at gmail.com
Sun Feb 3 22:37:13 GMT 2008


On Sun, 2008-02-03 at 10:22 -0800, Hacker Scot wrote:
> No problem putting a static dir in the WP  docroot. But if you  
> protect  that static dir with .htaccess, suddenly WP tries  to handle  
> it and  gives a 404.

Did you add a [L] at the end of the RewriteRule?

Make sure the rules you added are _above_ WordPress' rules.



More information about the wp-hackers mailing list