Reverse proxy with Caddy on WordPress with SSL & Docker

WordPress uses the is_ssl() function to determine if SSL is being used in the server. In order to do this, it uses $_SERVER[‘HTTPS’] and $_SERVER[‘SERVER_PORT’] to check if they are set. The problem when you use a reverse proxy, like in almost all the installations I run, is that Apache serves the content in HTTP trough […]



WP Multisite to single WordPress manual installation

This post was made after a very intense session of 6 hours trying, without luck, to export a wp multisite site using the WordPress tools and plugins. So I decided to do it manually like a real man. Well, now follow the steps below to extract a subsite from a Multisite Installation: 1 – Identifying […]


WordPress basic hierarchy

The following chart will help you to develop better themes for WordPress, is a must-follow structure to do everything in the WordPress way and to build future-proof themes. For a better and interactive image, visit wphierarchy.com.


Correct file & folder permissions for WordPress

Some plugin desapeared to your WordPress installation? Some hacked thing? No problem, if you fix the file permissions on your files you will harden your site.   Fixing ‘.htaccess‘ & ‘wp-admin/index.php‘ First of all, we must verify the permissions of ‘.htaccess‘ and ‘wp-admin/index.php‘. They cannot be writable except for the user. The correct permission for […]