Continuing with our WordPress security theme, in this guide we’ll find out how we can further prevent unauthorized login attempts by hiding the default WordPress login URL. This introduces a big obstacle to attackers who by default target wp-login.php or wp-admin/, you can’t attack what’s not there, right? How are we going to do that? You guessed it, there’s a plugin for it.
If you have read any WordPress security hardening related article, you know that you need to somehow limit the number of login attempts a certain IP can make before it gets locked out, this is done to prevent malicious actors by gaining access to your site via brute force attacks. Due to WordPress’ popularity as a site building platform, attacks on it are pretty common. Luckily it’s pretty easy to protect your site from them and, of course, there’s a plugin for this!
In today’s short tutorial we’ll have a look at how to take care and backup our site’s database. This way we can make sure that our site runs optimally and prevent unexpected data loss.
What is the database?
According to Wikipedia a database is an organised collection of data, generally stored and accessed electronically from a computer system. This means that the WordPress database is the place where all our site’s generated data lives, posts, pages, users, comments and more, everything is stored in it. For more information about the WordPress database you can have a look at this WPBeginner glossary entry, and for an in depth look at the default tables and their relations you can check out the database description in the codex.
From all the above we can easily figure out that the database is pretty important for the well-being of our site, any corruption can result to irreversible loss of data and accumulation of clutter might make queries, and by extension our site, slower. Below we’ll find out how we can backup, optimize and repair our database, to prevent these issues.
To help us with these tasks we will be using the WP-DBManager plugin which is available for free in the WordPress plugin repository.
If you are a photographer or any other sort of visual artist you are most likely concerned by the fact that your work can be very easily copied from your site and used elsewhere without your permission. This might cost you both directly if you sell your work online, and indirectly by losing potential clients by not getting proper credit for your work.
Due to the nature websites work it’s very hard to properly protect your work from being copied without permission. One of the most effective ways of preventing people from taking your images are watermarks, these generally make pictures unsuitable to display, especially in commercial settings, but even if someone ends up taking the image, you’ll get proper credit through the watermark. Today we’ll take a look at a plugin that helps you easily add watermarks to any image you upload on your WordPress site.
Facebook is by far the most popular social network on the planet, almost everyone you know is on it. You can capitalize on this by adding Facebook comments to your WordPress site.
Adding Facebook comments to your WordPress site allows everyone with an account to join in the discussion below your posts, or to start one if none is going on. People won’t have to go through the process of creating yet another account on another site just to leave a comment, they’ll be using an account they already have.
It’s not just the ease of your readers though, there are some major benefits for the site owner. First, there’s less spam because anonymity is scarce on Facebook, and second it has a potential of reaching a great audience because users can choose to post their comment on their Facebook feed just by checking a box, so the comment will be seen by their friends and followers as well, instead of just by your site’s reader, it’s a pretty sweet deal.
Today we’ll take a look at a plugin that replaces WordPress’ default commenting system with Facebook comments, and on top of that it only loads Facebook comments when a user clicks a button so it won’t impact the site’s performance much.
We have previously discussed how WordPress handles what a user can and can’t do, you can read all about it here. In short WordPress categorizes the users in six roles and assigns to each one a selection from the 60 default capabilities, each capability allows for a certain action and, naturally, the more capabilities a user has, the more they can do on the site.
Today we’re going to take a look at yet another plugin that can help you fiddle with the default capabilities assigned to each role, or even create new roles for your site.
WordPress comes with a few preset image sizes for images to be cropped to, the thumbnail, the medium and the large ones. Of course these basic image sizes are not enough for themes, so their developers tend to add many more custom image sizes to better creates the desired layouts on their themes. What if you need more image sizes than the ones that come with your theme? Luckily there is a plugin for that.
The WooCommerce checkout page comes with most of the required fields to allow you to get all the required information in order to dispatch an order to a client. What if something is missing? You might need a couple of extra fields, a checkbox, a drop-down or another text input field, how can you get them? You can always add new fields programmatically as described in WooCommerce’s documentation here, but there is an easier way by using a plugin.
The WordPress dashboard contains a lot of options that most users won’t ever use. In fact the plethora of options can some times be confusing or even dangerous if some of the available options allows an inexperienced user to break their site. WordPress tries to minimize both the clutter and prevent accidents by restricting access to necessary options depending of the user role. What if you want to create a tailor made experience for your clients though? You have a few options, you can use the roles & capabilities API to customize what each user role can do on your site, or even create custom roles for your users, more info on how to do that here. However, for more fine grained dashboard customization there is a purpose built plugin and it’s called Adminimize.
Changing permalink structure, changing post slugs, deleting posts or pages, moving your WordPress installation to another folder, or even migrating your site to a completely different server will require you to take care of URL redirects. A redirect lets your visitor, or more specifically your visitor’s browser, know that the page they are looking for has moved and directs them to the proper address. Unhandled changes to any of the above circumstances might result to 404 errors which are not that great for your page’s SEO. Let’s take a look at how we can use a plugin to easily handle such redirects.