wordpress agency, wordpress agency for development, enterprise wordpress, wordpress website, wordpress developer, make a website, wordpress sites, wordpress blog, wordpress for dummies, wordpress website development, wordpress website design, wordpress design, wordpress web design, wordpress help, wordpress designer, premium wordpress themes, create a wordpress website, wordpress plugin development, wordpress theme development, build a wordpress website, wordpress website templates, wordpress web, woocommerce plugin, wordpress free website, wp themes, setting up a website, wordpress web development, wordpress homepage, wordpress cms, best wordpress sites, custom wordpress theme, wordpress for beginners, best wordpress websites, using wordpress, wordpress designs, create website using wordpress, wordpress web developer, wordpress website hosting, wordpress website examples, create new website, start a website, wordpress premium, wordpress web hosting, create wordpress, wordpress customization, wordpress plugin developer, create wordpress theme, custom wordpress development, wordpress guide, wordpress programming, wordpress design services, create wordpress blog, wordpress website tutorial, using wordpress to build a website, how to build a wordpress website, wordpress website developer, using wordpress to create a website, custom wordpress design, wordpress website designers, building a website from scratch, online site hosted by wordpress, wordpress website development company, hosted wordpress, i want to create a website, best wordpress, build website using wordpress, woocommerce wordpress, website using wordpress, make a wordpress website, setting up a wordpress site, start a wordpress blog, wordpress web design company, wordpress website development services, buy wordpress themes, custom wordpress, create wordpress site, wordpress web design services, wordpress themes for business, wordpress page, world press website, custom wordpress website, steps to create a website, websites created with wordpress, best way to create a website, wordpress web design for dummies, wordpress website design company, learn wordpress step by step, build wordpress site, building a website for dummies, using wordpress for a website, create a website from scratch, wordpress website themes, website design using wordpress, wordpress business website, best way to build a website, design wordpress theme, wordpress site design, wordpress professional, wordpress blog page, wordpress site development, how to create a website with wordpress, top wordpress sites, make a website from scratch, make a webpage, build your own wordpress website, setting up a wordpress blog, get wordpress, wordpress layouts, building a website, wordpress website design tutorial, wordpress free site, website creation, e commerce website, website design, create wordpress account, wordpress web development services, design a website, wordpress cms tutorial, setting up your own website, create your own website wordpress, website developer, website developers, best premium wordpress themes, wordpress free blog, top wordpress websites, create a blog website, build wordpress theme, webdesign, website design companies, best way to make a website, web agency, web developers, custom wordpress plugin development, web page design, wordpress malware, web design companies, ecommerce website design, designer websites, professional website design, wordpress best themes, wordpress create website free, professional website, custom wordpress website design, wordpress blog examples, wp plugin development, examples of wordpress sites, web development companies, web design agency, wordpress webpage, custom website design, mobile website design, best way to learn wordpress, web development agency, popular wordpress blogs, setting up a wordpress website, ecommerce web design, create your own wordpress theme, custom web design, ecommerce website development, wordpress web design theme, build your own wordpress site, website companies, website design agency, website development company, wordpress for business, web application development, best wordpress designers, custom website, web design tools, professional web design, web creation, design companies, web design studio, web development websites, new wordpress, ecommerce design, how to use wordpress to create a website, website design and development, wordpress website management, wordpress start, make a wordpress site, wordpress membership plugin, new wordpress website, web design and development, make wordpress, custom wordpress site, the best wordpress themes, ecommerce web development, wordpress application development, great wordpress sites, wordpress theme designer, new website design, wordpress step by step, web design portfolio, develop website using wordpress, create professional website, best web design, online wordpress, new wordpress site, wordpress tutorials for beginners, best web design company, create wordpress template, start wordpress website, themes wordpress, world press website design, build your website with wordpress, best wordpress blogs, learn to build a website, wordpress tutorial 2022, woocommerce shop, web design prices, premium wp themes, ecommerce website development company

WordPress Agency for Development | Vipe Studio » WordPress Issues » How to Block Malicious IP Addresses in WordPress

How to Block Malicious IP Addresses in WordPress

Reading Time: 3 minutes

Welcome back to part 2 of this series on IP Address Blocking from your trusty WordPress agency for development, Vipe Studio.

In the previous part, we explored what it means to block IPs, and when you might need to do it. Today, we’ll look at a couple of methods, so let’s get to it!

IP address blocking in WordPress

Last time, we noted down a list of IP addresses from the WordPress dashboard that we wanted to block. To do so, follow these 3 steps:

  • Copy over the list of IPs that you wish to block and paste them into a new text file. It’s always advisable to resort to copy and paste, as we don’t want a stray typo or two that could let some IPs off the hook, and blacklist others instead.
  • Open up the dashboard on WordPress and click on ‘Settings’, then ‘Discussion’, and you’ll see settings for your website comments. Scrolling will bring you to the ‘Comment Blocklist’, where you can use a variety of criteria such as keywords or URLs or emails…or IP addresses. Any comment that contains or is from the IP address you paste here will be moved to trash.
  • Copy the list of IP addresses from the text file we created, and paste them into this section, ensuring that each IP is on a separate line. ‘Save Changes’ will set the blocking process in motion.
  5 (More) Best WordPress Practices to Manage Your Website Well (part 2)

Blocking IPs from a country

Sometimes we want to block access to the website for users from a country (or many) – either because the website is designed with some culture in mind, or perhaps you’re getting a lot of ill-intentioned visitors from a country. To achieve this, we will need plugins.

Search for ‘iQ Block Country’ under ‘Add New’ in Plugins in the dashboard, install it, and activate it.

Next, you’ll be shown a notification that tells you how you can get a database file to be uploaded. The notification will show you how the paid version works if you’d like that, but for now, we’ll be discussing the free database. Head over to Maxmind and create an account, then log in.

Here, you can pick ‘Download Databases’, and scroll till you find the database named ‘GeoLite2 Country’, then download it.

Using compression software like 7-Zip, extract the database and copy the file ‘GeoLite2-Country.mmd’. After this, the mmdb file needs to be uploaded to wp-content uploads on your website, ideally over SFTP.

This uploaded database plugs into the IQ Block Country plugin, and you can now pick countries. It’ll check the country of every IP address that visits you, and block the ones that are from regions you’ve picked.

To do this, return to the iQ Block Country plugin settings and choose whether you’d like the block to apply to your website frontend, backend, or both. Let’s use ‘Frontend’ for now, so under that tab, select from the dropdown menu which countries you’d like to block traffic from. As always ‘ Save Changes’ will work the magic, and your blocking will be in place.

  How to Prepare Your WordPress Website for a Crisis

That concludes this two-part tutorial series on IP address blocking on your WordPress website, and we hope you found it useful. It goes without saying that a reputable development agency would take care of IP address blocking as part of their security services, so if you’re in two minds about hiring a WordPress agency for development, this could help you make up your mind about it.

That’ll be all from us at Vipe Studio for now, and we’ll meet you next time when we’ll bring you more such guides and tips!

Looking for WordPress Website Development for your Business?

Our professional developers have proven experience in building high-quality business websites that outperform the competition, thanks to our meticulous attention to detail and the implementation of cutting-edge technologies. We will conduct an in-depth business analysis to ensure the website we create for you meets your highest expectations. Your site will have all of the necessary elements to assist you in increasing your ROI and sales.

Contact Us

The content of this website is copyrighted and protected by Creative Commons 4.0.

Tags:

Vipe Team

Author Vipe Team

Our tireless team who creates high-quality WordPress-related content for you 24/7/365.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

We have already created hundreds of profiting websites!

We have already created hundreds of profiting websites!

Subscribe to our newsletter and get our best WordPress tips!

[mc4wp_form id="8747"]