Block images on Russian domain.ru using htaccess?

I have a WordPress internet site which approves confidential remarks and also images. We are obtaining spam in the kind of Russian pornography, with images hotlinked from internet sites on the Russian domain.ru

As we are not likely to ever before require to properly link to a Russian image, I assumed the most convenient means to not need to consider this in the spam folder would certainly be to use.htaccess to reroute any kind of photo on an.ru domain name to something that does not exist.

Is this feasible? What would certainly I require to include in my.htaccess?

0
2019-12-02 02:48:19
Source Share
Answers: 1

You can not do that with.htaccess, as ask for those images do not originate from your web server. Rather write a filter on your remarks that either checks for.ru and afterwards obstructs the comment, or make use of a person elses code to filter remarks.

The Askimet plugin is respectable at protecting against spam-- have you obtained that mounted?

0
2019-12-03 04:13:38
Source