I'm having a problem with .htaccess sending all 404 error pages to the index page
If I remove the wordpress block the 404 pages all go to the appropriate error page, but the wordpress component of my site doesn't work any more (it shows a 404 error)
This is the .htaccess file
<Files .htaccess>
order allow,deny
deny from all
</Files>
ErrorDocument 403 /403.php
# forbidden
ErrorDocument 404 /404.php
#not found
ErrorDocument 500 /500.php
# internal error
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress