Redirect 410 (gone) doesn't work

There's this code in .htaccess:

<FilesMatch "robots.txt">
Header set X-Robots-Tag "noindex"

<FilesMatch ".(doc|docx|pdf|exe|vcf|txt)$">
Header set X-Robots-Tag "noindex, noarchive, nosnippet"

Redirect 410 "/wp-admin/admin.php?page=of-footer-menu"
Redirect 410 "/color/blackcolor/?orderby=popularity"

The "" and "" URLs should result in 410 redirect ("gone" status) but they don't. There were similar redirects made the same way on other sites and they worked but not here.

How to fix that?