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


Iconpong, a fork of iconping

I’ve been using iconping for years and it rocks. Sadly it doesn’t cater to all my needs and I was eager to contribute back. After seeing there are some pull requests and issues waiting for years, I decided to fork and incorporate all pull requests including my own. You can download iconpong from here.






How to send a message to Google

Why is so hard to contact Google? Well, I’m sure I’m not the first one trying to communicate something with Google, as when you dig in the help pages you only get infinite levels of FAQ sections where you can’t actually write anything to them. I had some special problems with my Gmail account, so […]


Country detection via PHP

Imagine a example.com with some example.com/es, example.com/fr with content related to each country. One solution is a javascript-based country detector that could ask the visitor to change the current site to the most appropriate one regarding to the visitors origin. The problem with this solution is that the user needs to load the content twice, and […]


Basic flexbox structure

Flexbox! That thing, everyone talks about that but anyone actually knows how to handle it =P Well, I’m not the most expert in flexbox, but I have some experience dealing with it. As usual, I’m not going to give a big explanation about this, but instead I’m leaving here a piece of code ready to […]


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