Title: IP Blacklist Definition
Last modified: May 16, 2022

---

# IP Blacklist Definition

 *  Resolved [purcell2delius](https://wordpress.org/support/users/purcell2delius/)
 * (@purcell2delius)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/ip-blacklist-definition/)
 * Can I import or copy and paste a CSV file or other form of IP address blacklist
   into a plugin blacklist settinng?
 * Regards!

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [IP2Location](https://wordpress.org/support/users/ip2location/)
 * (@ip2location)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/ip-blacklist-definition/#post-15651060)
 * As long as these IP is in 1 IP per line, you can paste it into the blacklist 
   without issue.
 *  Thread Starter [purcell2delius](https://wordpress.org/support/users/purcell2delius/)
 * (@purcell2delius)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/ip-blacklist-definition/#post-15651174)
 * 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!
 *  Plugin Author [IP2Location](https://wordpress.org/support/users/ip2location/)
 * (@ip2location)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/ip-blacklist-definition/#post-15651179)
 * Sorry, the input is controlled by Javascript, you cannot paste it in by batch.
   You will need to paste them one by one.
 *  Thread Starter [purcell2delius](https://wordpress.org/support/users/purcell2delius/)
 * (@purcell2delius)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/ip-blacklist-definition/#post-15651235)
 * 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!
 *  Plugin Author [IP2Location](https://wordpress.org/support/users/ip2location/)
 * (@ip2location)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/ip-blacklist-definition/#post-15651268)
 * 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.
 *  Thread Starter [purcell2delius](https://wordpress.org/support/users/purcell2delius/)
 * (@purcell2delius)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/ip-blacklist-definition/#post-15651323)
 * Great!!
 * I have successfully written the blacklist directly into the database.
 * Thank you so much!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘IP Blacklist Definition’ is closed to new replies.

 * ![](https://ps.w.org/ip2location-country-blocker/assets/icon-128x128.png?rev=
   2121917)
 * [IP2Location Country Blocker](https://wordpress.org/plugins/ip2location-country-blocker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ip2location-country-blocker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ip2location-country-blocker/)
 * [Active Topics](https://wordpress.org/support/plugin/ip2location-country-blocker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ip2location-country-blocker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ip2location-country-blocker/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [purcell2delius](https://wordpress.org/support/users/purcell2delius/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/ip-blacklist-definition/#post-15651323)
 * Status: resolved