Business Magazine

WordPress Defacement: 6 Ways to Prevent Your Website from Getting Hacked

Posted on the 31 January 2017 by Ajay Prasad @gmrwebteam

WordPress Defacement

For all businesses, the threat of website defacement is something that has to be dealt with on a daily basis. WordPress, hosting more than 74 Million Sites globally, is the biggest Content Marketing System out there and probably is more prone to defacement risks. More than 170,000 WP websites were hacked in 2012.

Any business can be a victim of website defacement. Some famous institutions have had their websites defaced over the past three years. These include the U.S. Geological Survey, several NASA facilities, the U.S. House of Representatives and even technology giant Lenovo.

technology giant Lenovo

However, the majority of website defacement happens to ‘mom and pop’ businesses that rely on web hosting services that don’t have proper security procedures. Sometimes, the businesses may lack the staff and knowledge to secure their own web servers.

In most cases, website defacement leaves the website inaccessible. In worst case scenarios, your users’ Personal Identifiable Information (PII) may be compromised due to cross site scripting. Therefore, it is important to take steps to secure your websites.

If you are using WordPress for your website or blog, here are 6 ways that you can protect your site against defacement.

1. Keep Your WordPress Version Updated

Always keep your WordPress site updated to the latest version. WordPress takes security seriously and constantly releases automatic updates meant to make websites secure. However, having the latest WordPress version will only do so much.

latest WordPress version

If you have an insecure custom theme, your site can still be vulnerable to attacks. Therefore, it’s also important to have the themes and any plugins on your website up to date.

2. Keep Plugins Updated and Remove Unnecessary Ones

Believe it or not, but WordPress defacements can happen easily if you are accustomed to leaving a plugin outdated for long. Hackers find and exploit a vulnerability in a plugin to inject backdoors into your website.

Website security monitoring software Sucuri in its blog reported in June that the WP Mobile Detector was being exploited by hackers and the plugin was removed from the WP plugin repository since then.

Website security monitoring software

An updated plugin comes with bug fixes and security patches which minimize the risk of getting hacked. Make sure to ask your website maintenance team to manually update all the plugins and the theme whenever one comes out.

3. Make Backups Periodically

Before upgrading plugins or themes on your website, backup the entire database. This can be done manually or through free plugins such as WP Backup. You can also make use of the premium plugin Buddy Backup. The plugin cannot only backup your database, but the entire WordPress site files.

4. Strong Login Credentials

Most hackers know the default WordPress login is ‘admin’. With this information, they can easily create scripts that can auto-generate the most common passwords people use. This is known as brute forcing. While changing your login credentials is not guaranteed to make your site hacker-proof, it will go a long way in making the work of hackers more difficult.

Change the default login to something custom, for example, “Bauer2781”. Of course, you should decide on the username you can easily remember. Apart from this, install security plugins such as Brute Force Login Protection to reduce the impact of brute force attacks on your site.

5. Define Keys in the Configuration File

Using WordPress security keys is another way you can secure your site. The keys improve encryption of the data that users provide on your site. To set up the keys, you will need to access the configuration file (wp-config.php) in your WordPress installation. This can be done through the cPanel or by using a file management software like Filezilla.

After accessing the file, go to WordPress Key Generator to generate the keys. Find the following lines and replace the keys with the generated ones:

define(‘AUTH_KEY’, ‘put your unique phrase here’);
define(‘SECURE_AUTH_KEY’, ‘put your unique phrase here’);
define(‘LOGGED_IN_KEY’, ‘put your unique phrase here’);
define(‘NONCE_KEY’, ‘put your unique phrase here’);

Make sure you save the wp-config.php file before exiting.

6. Use Third Party Website Monitoring Softwares

Being a business means you have plenty of tasks in your daily to- do list. And believe me,, it is not easy to monitor and maintain a website every minute. Luckily, there are third-party monitoring softwares like Sucuri that can do the task just for you.

The following is the list of 5 online tools to monitor your website and alert for any defacement

  1. ChangeDetection
  2. IPVTec
  3. SUCURI
  4. OnWebChange
  5. Site 24×7

Ensure Your Website Security

Implementing the tips above does not guarantee your WordPress website will be hacker-proof. If a hacker is really determined and has the resources, he can compromise even the most secure website [the Lenovo example].

However, by implementing the above tips, the chances of your website being defaced will be significantly reduced.


You Might Also Like :

Back to Featured Articles on Logo Paperblog

These articles might interest you :

  • Frank Turner, Sam Coffey, and Bad Cop / Bad Cop Takeover Toronto!

    Frank Turner and The Sleeping Souls played the middle show of a three-night takeover of The Phoenix Concert Theatre in Toronto on Thursday night, and things... Read more

    The 23 September 2018 by   Phjoshua
    LIFESTYLE, SELF EXPRESSION
  • Our Favorite TV Shows of All-Time

    Even though we live in Los Angeles where the weather is nice most of the year, during the fall we sometimes just want to stay in, prepare a cup of hot cocoa... Read more

    The 23 September 2018 by   A Girl In La - Style Blog
    DIARIES, LIFESTYLE
  • Finished Boys Bedroom Makeover: Ethans Blue, White And Red Big Boy Room

    Finished Boys Bedroom Makeover: Ethans Blue, White Room

    Our little boy Ethan's, bedroom makeover is now finished and it feels so good to finally be able to say that! If you've been following our renovation journey,... Read more

    The 23 September 2018 by   Alex_bumptobaby
    DIARIES, SELF EXPRESSION
  • How to Worsen Diabetes: Follow the ADA and CDA Advice

    Worsen Diabetes: Follow Advice

    If you have a new diagnosis of type 2 diabetes, or have been dealing with the condition for years, where's a natural place you might go for support and... Read more

    The 23 September 2018 by   Dietdoctor
    DIET & WEIGHT, HEALTH, HEALTHY LIVING, MEDICINE
  • Safely Stored Away

    Safely Stored Away

    A bit of a panic today when I saw that temperatures might go down to 3C tonight and tomorrow night.  Whilst I had started to move some of my tender plants... Read more

    The 23 September 2018 by   Patientgardener
    GARDENING, HOME
  • 14% of American Adults Have Diabetes According to CDC

    American Adults Have Diabetes According

    A new report, just released by the Centers for Disease Control (CDC), pegs US diabetes rates, as of 2016, at 14.0% of adults. This includes cases of both... Read more

    The 23 September 2018 by   Dietdoctor
    DIET & WEIGHT, HEALTH, HEALTHY LIVING, MEDICINE
  • 20 Boots & Hearts 2019 Artist Predictions

    Boots Hearts 2019 Artist Predictions

    Every year we look forward to the packed schedule of country music that takes place at Boots Hearts. We also sit and think and guess at who we're going to... Read more

    The 23 September 2018 by   Phjoshua
    LIFESTYLE, SELF EXPRESSION