Google has indexed pages that do not exist on my site. At the moment webmaster tools says the are 404s but I want to change them to 410s.
In .htaccess I have pages for the errors:
ErrorDocument 404 /404.htm
ErrorDocument 410 /410.htm
and I have:
RewriteRule ^/it-doesnot.exist - [G]
But the browser still returns a 404 for this url.