A
A
Anton Marchenko2020-06-01 16:16:48
WordPress
Anton Marchenko, 2020-06-01 16:16:48

How to add AntiBot.Cloud to a WordPress site?

Hello!
I am a teapot, an amateur, as they say, but I really want to add AntiBot to the site. What for? I don't know if it really helps.

But please help me solve this problem, I don’t understand where to insert files from the archive with the script, where to enter the line of code and what line to make it function (I suspect that these files need to be thrown into the WP directory, and the code should be entered in function. php.. I can't understand anything else).

Many thanks in advance to everyone who responds!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mik Foxy, 2020-06-03
@rambee

Upload the antibot folder to the root of the site, and insert the include into the WordPress config:

require_once($_SERVER['DOCUMENT_ROOT'].'/antibot/code/include.php');

You can still not in the WordPress config, but in index.php which is at the root, but then when updating WordPress, this file can be overwritten and the antibot will again have to be inserted again.
It is not advisable to insert into other scripts, because there may be incompatibility issues with caching plugins, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question