404重定向到页面不工作php / htaccess

I'm having a little issue with my php htaccess 404 redirect - it's not redirecting.

I have my htaccess setup to strip the extension off the filenames/pages, and I'm wondering if that's the cause to my issue. However, I'm stuck and can't seem to figure this out.

Right not it just keeps redirecting all errors to the index page.

I've tried this suggestion with no luck -Rewrite URL after redirecting 404 error htaccess

Any suggestions?

Here's my htaccess:

Options -Indexes +FollowSymLinks -MultiViews
# Turn mod_rewrite on
RewriteEngine On
RewriteBase /

RewriteCond %{HTTP_HOST} ^www.sitename.com$ [NC]
RewriteRule ^(.*)$ http://sitename.com/$1 [R=301,L]

## hide .php extension snippet

# To externally redirect /dir/foo.php to /dir/foo
RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.php [NC]
RewriteRule ^ %1 [R,L]

# To internally forward /dir/foo to /dir/foo.php
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_FILENAME}.php -f
#RewriteRule ^(.*?)/?$ $1.php [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]

RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(.*)index(\?|\ )
RewriteRule ^ /%1 [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f  
RewriteCond %{REQUEST_FILENAME} !-d  
RewriteRule . index [L] 

RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]*/)*index\.(html?|php[45]?)(\?[^\ ]*)?\ HTTP/
RewriteRule ^(([^/]*/)*)index\.(html?|php[45]?)$ http://sitename.com/$1 [R=301,L]


#if query string is empty
RewriteCond %{QUERY_STRING} ^$
#match on / for root, or .index.php in request and send to query string version 
RewriteRule ^invoices.php?$ /invoices?status=open [R=301,L] 
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^projects.php?$ /projects?status=open [R=301,L] 

#RewriteRule ^(/|invoices.php)?$ /invoices?status=open [R=301,L]
#RewriteRule ^(/|projects.php)?$ /projects?status=open [R=301,L]


ErrorDocument 400 /errors.php
ErrorDocument 403 /errors.php
ErrorDocument 404 /errors.php
ErrorDocument 405 /errors.php
ErrorDocument 408 /errors.php
ErrorDocument 500 /errors.php
ErrorDocument 502 /errors.php
ErrorDocument 504 /errors.php