Force HTTPS on the WordPress login page

To force HTTPS connection on the wp-admin directory, edit your wp-config.php file and add   This will ensure the admin area is always loaded with SSL, ultimately resulting in a safer WordPress installation. Force HTTPS on the WordPress login page was last modified: April 12th, 2015 by Thomas


Add a canonical tag to WordPress header.php

Adding the canonical tag to your WordPress blog might be essential if you do not want search engines to see your content twice (= duplicate content) and thus giving you a penalty as such. To add this tag, simply go to your theme’s folder and find header.php. Now, add the following somewhere after <head> but Continue reading →


Change default uploads folder in WordPress

To change the default folder where uploads are stored on your webserver when using WordPress as your CMS, open wp-config.php and add the following line of code: In this case, the folder where uploads are stored is called ‘uploads’ and can be found at and are then, based on your settings, saved in a Continue reading →


Repair a broken WordPress database

If you WordPress blog MySQL database is broken, maybe as a result of manual tweaking, and you get errors, you can let WordPress fix your broken database all by itself. To do so, open wp-config.php and add the following line at the end of that file: This will ‘allow’ your WordPress installation to perform a Continue reading →


Add a custom logo to WordPress’ wp-admin login page

The default image you find when you go to is the WordPress logo. To change this is an image of your choice, let’s say the logo of your company, simply add the following code to your functions.php file which can be found in the wp-content/themes/your-theme directory. Of course, make sure that the /wp-admin/images/wordpress-logo.png file Continue reading →