Short, practical notes from everyday work with WordPress sites and servers: useful settings, commands, small workflows and answers to questions that come up again and again.
HelloAdmin is 2 years old! Hello, dear friends! Exactly two years ago the first post appeared on HelloAdmin, and today this small site celebrates its birthday, and a New Year at the same time.
How to find the login page when the WPS Hide Login plugin is used An unpleasant situation: you type /wp-admin/ or /wp-login.php to get into the dashboard, and you are redirected to some page, but not to the login form. Usually the default login page is hidden for one purpose, security: bots cannot brute-force the…
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…
Replace a string in the whole WordPress database Sometimes, because of a company rebranding or simple inattention, a string has to be replaced everywhere on the site, or a symbol added to a word. In my case “Company Name” had to become “Company Name®”. Traditionally, there are several ways to do it.
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.
Quickly change the post type or taxonomy with SQL It gives me special satisfaction when a task that people solve with a plugin can be done faster than it takes to download and activate that plugin.
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…
How to get a user’s location by IP address in WordPress Geolocation lets you show or hide content depending on the visitor’s country: region-restricted products, localised promotions, country-specific notices. The approach has three steps: get the visitor’s IP, ask a geolocation service which country it belongs to, and act on the result.
How to set correct WordPress file and folder permissions Incorrect file permissions cause WordPress errors like “Could not create directory” or “Unable to locate WordPress root directory”, while overly permissive settings (like 777) are a serious security risk. The standard WordPress recommendation is 755 for folders and 644 for files, and both can be set…