• Get In Touch
May 2, 2013

10 Tips To Secure WordPress

Using Wordpress? Get our lightening fast Wordpress Optimised Hosting.
Get Wordpress Hosting

WordPress is one of the biggest open source content management systems on the internet, and as you may have recently read, WordPress is currently being heavily targeted by botnet owners. It’s now more important than ever to secure WordPress so you don’t fall victim to this type of attack. Here are our 10 tips to securing WordPress.

Security Tip 1: Don’t use the username admin

The main target of this hack is brute forcing passwords, and if your default username is admin it makes it so much easier to hack. Create a new user, give them administration rights and then simply login with that new user and delete the old admin account. We ask when you purchase a WordPress site that you don’t use admin as your username.


Security Tip 2: Keep WordPress up to date

Make sure you login to your WordPress installation regularly and update any themes or plugins, plugin and theme publishers are pretty good at patching security holes regularly, but it’s no use if you don’t keep the plugins/themes up to date!


Security Tip 3: Backup your WordPress site

Although we backup your site for you, it’s still good practise to take your own backups. We recommend the WordPress Backup To Dropbox plugin, you will need a Dropbox.com account but it means you files are stored in the cloud, externally from our systems.


Security Tip 4: Choose your plugins wisely

Before just blindly choosing a plugin, do a web search to find the best plugin, or to get reviews on the one you have chosen. A lot of the time plugins are the cause of many hacks as they don’t keep their code as secure as the main WordPress installation.


Security Tip 5: Protect Your wp-config.php File

All of your database connection details, including passwords are stored in plain text in a file called wp-conf. This file needs to be secure so hackers can’t access it. Add the following to your .htaccess file

<files wp-config.php>
order allow,deny
deny from all
</files>


Security Tip 6: Install a Failed Login Attempt Limiter

If an intruder trys a lot of passwords on your site and you’re using an easy to guess password, eventually they will crack it. But you know your password, and wouldn’t try to login more than once per time! so why not block people from logging in after a certain amount of attempts? You can do just that with the Limit Login Attempts Plugin.


Security Tip 7: Install a WordPress Security Scanner

Install a security scanner to check for vulnerabilities in your WordPress installation, For this our plugin of choice is Wordfence. Wordfence scans your site for viruses, malware, trojans, malicious links, protects your site against scrapers, aggressive robots, fake Googlebots, protects against brute force attacks and much more.


Security Tip 8: Hide Your WordPress Version

Many hacks search sites for WordPress versions as they know what security fixes have been released in what versions, so its a good idea to hide yours.To do this you need to place below code in function.phps of your active theme.

remove_action('wp_head', 'wp_generator');
function wpt_remove_version() {
return '';
}
add_filter('the_generator', 'wpt_remove_version');


Security Tip 9: Protect Your .htaccess File

Your .htaccess file can be targeted to redirect users, allow access to files and much more, so its a good idea to lock this down as well. Simply add this to your .htaccess file

<files .htaccess >
order allow,deny
deny from all
</files>

Using Wordpress? Get our lightening fast Wordpress Optimised Hosting.
Get Wordpress Hosting

Share this Article!

Related Posts

5 Website Hosting Solution Trends for 2022 and Beyond

5 Website Hosting Solution Trends for 2022 and Beyond

Looking for the right web hosting solution for your website can be an intimidating task. Options nowadays are more diversified than ever, and each year brings new developments in the web hosting market. If you have no clue of what to look out for, you can find yourself overwhelmed with the choices. Hence, you must […]

64 Content Marketing Statistics Demonstrating the Power of Content

64 Content Marketing Statistics Demonstrating the Power of Content

Content marketing continues to be one of the most valuable tools for today’s online businesses. With content, you can improve your chances of reaching your target audience, boost your search engine standing, and even unlock new opportunities for sales. The more content you produce, the more you can strengthen your domain authority, demonstrate your thought […]

53 User Experience Stats for 2022

53 User Experience Stats for 2022

User Experience (UX) is one of the most crucial factors to consider in web design. As the number of websites and applications in the world today continues to accelerate, businesses are under more pressure than ever to impress customers straight away. If a user visits your website and finds slow-loading pages, clunky navigation, or errors, […]

How to increase the memory limit in WordPress

How to increase the memory limit in WordPress

Do you need to increase the memory limit in WordPress? Getting an error about memory Exhausted? The memory limit is one of the most common WordPress errors as the default limit of memory in WordPress is only set to 64mb! But there’s good news! The Memory Exhausted error is one of the easiest to fix […]

All in One WordPress Migration Vulnerability

All in One WordPress Migration Vulnerability

A vulnerability has been discovered in the “All In One WordPress Migration” WordPress plugin. All versions earlier than, and including 6.97 contain a vulnerability which allows Cross-Site Scripting (XSS). With over 2 million active installations, this vulnerability has the potential to be high impact, however, this is lessened by the nature of the vulnerability, which […]