I must redirect lots of erased pages per keyword string and 301 to some recently produced page to enhance internet search engine ratings and this site visitors happy.

Presently my WordPress .htaccess appears like this

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

which generates for me www.domain.tld/postid/full-pagetitle/ and I must place specific key phrases matching areas of the title (like certain company-names or any other words) to redirect to a different unique page like www.domain.tld/postid/special-page/.

With this particular I must avoid writing 100s of single page redirects in to the .htaccess.

I'd really thank you for help! THANKS