As long as these IP is in 1 IP per line, you can paste it into the blacklist without issue.
Thank you for your answer.
I created a text file with one IP address per line and copied and pasted it into the blacklist. Unfortunately, they were not accepted by the blacklist. After I pasted them, the pasted strings were combined into one line and highlighted in red.
I tried a combination of CR, CR+LF, and LF as line break codes, but none of them were accepted.
What kind of separator should I use?
Best regards!
Sorry, the input is controlled by Javascript, you cannot paste it in by batch. You will need to paste them one by one.
Thank you very much. I understood.
But I have many blacklists and it is very difficult for me to enter them one by one.
If you could tell me the location of the file or database where the blacklist data is written to, I would be able to write the blacklist directly.
Do you think it would be very dangerous to try it?
Regards!
Hi,
The values are stored under wp_options table with option_name ip2location_country_blocker_backend_ip_blacklist and ip2location_country_blocker_frontend_ip_blacklist. The IPs are separated with a semicolon.
Please make sure not to block yourself by inserting your own IP address there.
Great!!
I have successfully written the blacklist directly into the database.
Thank you so much!