Command-line work on the servers that run WordPress: SSH keys that survive a reboot, bash scripts for backups, WP-CLI for everyday tasks and Multisite networks, and checking DNS when a moved site still shows the old version.
Linux commands every WordPress developer needs on the server Most WordPress hosts and every VPS give SSH access, and a handful of commands cover most server tasks faster than a control panel: finding what filled the disk, fixing file permissions, watching the error log while reproducing a bug, checking what PHP is doing. The examples…
Permanently add a private key to SSH I think we have all been in a situation where we have to use an SSH key instead of the usual login and password. I remember being surprised that after a system reboot I had to add the key again with ssh-add before I could connect to the…
How to get all external links from a website When I got this task and started working on it, I found it very interesting. It can be solved in a few ways, depending on what you have: knowledge of the console, access to the database, or a WordPress admin account.
Moved the site to production, but the domain shows a different site Once I ran into strange behavior. After development and successful testing I moved a site to the live server with cPanel. Everything went as it should, with no signs of trouble, but when I opened the live site I was very surprised: it…