Phone :  +370 (5) 204-1903
Email: sales@1gbits.com
  1. Dedicated server
  2. Blog
  3. How To Protect Your WordPress Website Against DDoS Attacks
How To Protect Your WordPress Website Against DDoS Attacks


Feb, 18

DDos attack stands for Distributed Denial of Service and puts the victim's web services out of order by sending a significant amount of requests. The DDoS attack is a method in which an attacker sends traffic (called "requests") through compromised networks and computers to the target to make the targeted system too busy to be able to respond to any other requests from legitimate users.

How Does DDoS Work?

During a DDoS attack, a target server or network receives frequent requests from compromised systems and this makes the bandwidth limit of a network or resources of a server to max out. This slows down the server response and sometimes the server becomes useless. There are various types of DDoS attacks. In this article, we will explain the two most common types of DDoS attacks called Volumetric Attacks and Application Level Attacks .

Volumetric Attacks

In this type of attack, a target site or a network receives traffic and requests from botnets and infected zombie systems. The examples of this attack category are connection floods , TCP SYN floods , and ICMP / UDP floods. This type of attack targets the  third and fourth layer of the TCP / IP protocol called Network Layer and Transport Layer respectively. In these types of attacks, the attacker generates high bandwidth of traffic by using infected systems.

Application Level Attacks

Application Level DDoS Attacks is called Layer-7 DDoS attacks. In these attacks, the actor sends traffic to specific sections of a website to target vulnerabilities in web applications. Application Level DDoS attacks do not make a website down but increases bandwidth consumption. It also slows the sites by a great deal. In these attacks, since the traffic looks like if it comes from real humans, detection is hard. The attacker in these types of attacks uses HTTP, DNS and SMTP requests.

How To Protect Your WordPress Website Against DDoS Attack?

WordPress is one of the best CMS solutions and it is supported by a huge community of developers. This CMS is prone to vulnerabilities. Most users' website is being used as a zombie to attack another website and they are not aware of this. To reduce the threat of DDoS attacks, fix vulnerabilities in your WordPress sites. Steps to Protect Your WordPress Website Against DDoS Attack are as below:

1- Block XML-RPC functionality

XML-RPC functionality is enabled by default since WordPress 3.5 and provides services like pingbacks and trackbacks . An attacker can exploit these functionality to send HTTP requests to a target website. If thousands of compromised WordPress sites start to send requests to a target website at the same time, a Large Application Layer DDoS attack can occur.

It is better to disable XML-RPC functionality on all of your WordPress websites, so they can not be used to launch a DDoS attack using pingbacks and trackbacks. To do this, add the following code to your .htaccess file .

Order Deny, Allow
Deny from all

Notice: Alternatively, you can use a plugin like Disable XML-RPC Pingback to disable the pingback and trackback functionality and keep other functions of XML-RPC intact.

2- Update your WordPress Version Regularly

Update folowing options with your Wordpress:

  1. WordPress installation
  2. WordPress themes
  3. Apache version
  4. WordPress plugins
  5. PHP version on the server
  6. Mysql version

3- Contact your hosting company

You should contact the hosting company and discuss if the servers and network hardware are updated. Also, you should ask them what security measures they provide.

4- Use Security Plugins

You can add a layer of defense to your WordPress website by configuring a security plugin can. A security plugin called WordFence monitors and prevents DDoS attacks on WordPress websites.

Congratulations! You have learned how to protect your WordPress Website against DDoS Attacks .

If you are facing any problem with the installation, feel free to comment here. We will help you to solve the issue.


author img


Generic placeholder image
live streaming cloud

2018 Jul 27, 18:07:04

Hey there! I'm at work surfing around your blog from my new iphone! Just wanted to say I love reading your blog and look forward to all your posts! Keep up the outstanding work!

Generic placeholder image
live streaming hardware

2018 Oct 05, 02:10:26

Hello! I simply wish to offer you a big thumbs up for your excellent information you have got here on this post. I am coming back to your website for more soon.

Generic placeholder image
cloud video streaming

2018 Nov 20, 00:11:46

Excellent post. I was checking constantly this blog and I'm impressed! Very useful information specially the last part : ) I care for such info a lot. I was seeking this particular info for a long time. Thank you and best of luck.

Generic placeholder image

2019 Mar 11, 12:03:30

I've read this post and if I could I desire to suggest you few interesting things or suggestions. Maybe you can write next articles referring to this article. I wish to read even more things about it!

Generic placeholder image

2019 Mar 18, 04:03:19

Given info about how to protect your wordpress website against ddos attacks is really helpful for me. Thanks for sharing.

Generic placeholder image

2019 Nov 24, 20:11:13

If you are going for best contents like me, just visit this web page every day for the reason that it gives feature contents, thanks

Generic placeholder image

2020 Mar 23, 20:03:39

I for all time emailed this webpage post page to all my friends, because if like to read it then my links will too.

Generic placeholder image

2020 Mar 26, 17:03:43

Hi there, yeah this article is truly fastidious and I have learned lot of things from it about blogging. thanks.

Generic placeholder image

2020 Mar 30, 06:03:55

Great blog here! Additionally your website so much up very fast! What host are you the use of? Can I get your associate link in your host? I wish my web site loaded up as fast as yours lol

Generic placeholder image

2020 Mar 30, 06:03:52

I'm truly enjoying the design and layout of your website. It's a very easy on the eyes which makes it much more pleasant for me to come here and visit more often. Did you hire out a developer to create your theme? Excellent work!

Generic placeholder image

2020 Mar 30, 07:03:57

Hello to all, how is the whole thing, I think every one is getting more from this web page, and your views are fastidious in favor of new visitors.

Generic placeholder image

2020 Apr 26, 12:04:00

Hmm it seems like your blog ate my first comment (it was extremely long) so I guess I'll just sum it up what I had written and say, I'm thoroughly enjoying your blog. I as well am an aspiring blog writer but I'm still new to everything. Do you have any points for novice blog writers? I'd genuinely appreciate it.

Generic placeholder image

2020 Apr 26, 20:04:56

It's an amazing piece of writing designed for all the internet viewers; they will obtain benefit from it I am sure.

Generic placeholder image

2020 May 18, 17:05:19

Thanks for ones marvelous posting! I quite enjoyed reading it, you will be a great author. I will be sure to bookmark your blog and definitely will come back at some point. I want to encourage yourself to continue your great work, have a nice holiday weekend!

Generic placeholder image

2020 May 25, 09:05:51

Very descriptive blog, I loved that bit. Will there be a part 2?

Generic placeholder image

2020 May 28, 18:05:05

Because the admin of this web page is working, no question very shortly it will be well-known, due to its feature contents.

Generic placeholder image

2020 Jun 03, 13:06:43

Its such as you read my mind! You seem to understand a lot approximately this, like you wrote the e book in it or something. I feel that you can do with a few % to pressure the message home a bit, however other than that, this is great blog. A fantastic read. I'll definitely be back.

Generic placeholder image

2020 Jun 04, 05:06:49

Superb, what a website it is! This website presents valuable data to us, keep it up.

Generic placeholder image

2020 Jul 28, 16:07:04

I'm curious to find out what blog system you're utilizing? I'm having some minor security issues with my latest website and I would like to find something more safeguarded. Do you have any suggestions?

Generic placeholder image

2020 Aug 31, 16:08:57

I visited a lot of website but I believe this one holds something extra in it.

Generic placeholder image

2020 Dec 11, 17:12:06

Hey there! I know this is kind of off topic but I was wondering if you knew where I could get a captcha plugin for my comment form? I'm using the same blog platform as yours and I'm having problems finding one? Thanks a lot!

Leave A Comment