Andrew,
I am sorry for my outburst, I know that nomadscarecrow was trying to help. I am sure some people prefer his method instead of mine. Personally I would not give them anymore information then they already took from the site.
I manage few small sites and semalt was hammering those sites down. On one blog they had more then 50% of visits from them! That effected the bounce rate and ranking, that’s why I get so upset about them. Again I apologize for my outburst.
SLIS,
I never used Yoast SEO plug-in so I am not sure if Yoast .htaccess is read before WordPress .htaccess or is they are used together.
I would try to add the code in the original .htaccess file from WordPress first and see what happens if that won’t stop them then I would remove it and add it to the Yoast .htaccess file. If you are not sure you can always ask the developer of Yoast SEO what .htaccess file you can edit.
Hope that helps.