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 […]


How to create a Template in WordPress without FTP Access

You want to create a Template in your theme, and somehow you don’t have FTP access in that moment. But, hey, you have the WordPress logins to enter in the backend, so… stay tuned! 1 Indentify the theme directory To know the directory in which the theme is located, you will need to see the source […]


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 […]