I have a list of about 15 paths that I want to permanently redirect to a new domain, including the homepage.
However, I want everything else not in this list to 410 (gone). Is this possible in .htaccess without listing all other URLs/Paths?
RewriteRule ^category1\*$ https://NEWSITE.com/ [R=301,L]
RewriteRule ^category2\*$ https://NEWSITE.com/ [R=301,L]
RewriteRule ^category3\*$ https://NEWSITE.com/ [R=301,L]
RewriteRule ^category4\*$ https://NEWSITE.com/ [R=301,L]
RewriteRule ^category5\*$ https://NEWSITE.com/ [R=301,L]
RewriteRule ^category6\*$ https://NEWSITE.com/ [R=301,L]
RewriteRule ^category7\*$ https://NEWSITE.com/ [R=301,L]
RewriteRule ^category8\*$ https://NEWSITE.com/ [R=301,L]
RewriteRule ^category9\*$ https://NEWSITE.com/ [R=301,L]
RewriteRule ^category10\*$ https://NEWSITE.com/ [R=301,L]
RewriteRule ^category11\*$ https://NEWSITE.com/ [R=301,L]
RewriteRule ^category12\*$ https://NEWSITE.com/ [R=301,L]
RewriteRule ^category13\*$ https://NEWSITE.com/ [R=301,L]
RewriteRule ^category14\*$ https://NEWSITE.com/ [R=301,L]
RewriteRule ^category15\*$ https://NEWSITE.com/ [R=301,L]
RewriteRule ^$ https://NEWSITE.com/ [R=301,L]