Welcome to WP Beaches

WordPress Websites design specialists, based in the Northern Beaches, Sydney
Design, Develop, Host

RECENT POSTS

Cache warming a website with Optimus Prime

Optimus Prime Cache Warmer

Not all cache plugins or apps preload pages or provide a warm cache of all content, normally the first time a page is visited it is not cached but subsequent pages are. More plugins are providing pre-loading or warm cache solutions but some still don’t or web hosts don’t allow it – there are a…

Categorized: ,

Block wp-login.php and xmlrpc.php via fail2ban on RunCloud

Fail2ban WordPress Runcloud

How to ban IP addresses that are brute forcing your wp-login.php and xmlrpc.php with fail2ban on a RunCloud server.   Add a WordPress fail2ban filter Create a wordpress.conf file in /etc/fail2ban/filter.d/ [Definition] failregex = ^<HOST> .* “POST .*wp-login.php ^<HOST> .* “POST .*xmlrpc.php ignoreregex = If you just want to ban only one of them just…

Categorized: ,

Force Password on SSH Connection

Force SSH Password

This is the command to force a SSH password between a client and server, you may have passwordless connection set up with SSH keys but want to check that a password is correct. ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no user@1.2.3.4 Swap out user@1.2.3.4 with your connection details. Once logged in, if you want to change the…

Categorized:

Tweaking RunCloud Servers After Deployment

Tweaking Runcloud Servers

Here are some references for various fix ups or tweaks that I apply to  servers with a RunCloud control panel. These are not all done inclusively, depends on the need. SSH Change the SSH Port from the default 22 nano /etc/ssh/sshd_config Change to desired port #Port 22 Open new port RunCloud panel, close old 22…

Categorized: ,

Block xmlrpc.php and wp-login.php via NGINX

Block Xmlrpc Wp Login Nginx

You can block xmlrpc.php and wp-login.php via NGINX with the configurations below, what’s good about this approach is that it prevents brute force attacks at the NGINX server level without any PHP/MySQL resources being used. xmlrpc.php for NGINX location = /xmlrpc.php { deny all; } To allow JetPacks IP addresses through adjust the config to…

Categorized: ,

Set up malware scanner LMD Maldet and ClamAV on a RunCloud instance

Lmd Maldet Runcloud

How to set up a malware scanner with LMD Maldet and ClamAV on a RunCloud server instance. One of the popular and open source malware scanners is an app called Linux Malware Detect and works well scanning any Linux web server, it keeps a daily updated database of known malware exploits from an updated registry…

Categorized:

Send command line server emails with Postfix on a Ubuntu Server 18.04

Postfix Send Email Command Line

Here is a guide to allow a Ubuntu 18.04 server to send out local server based emails using Postfix. Test Command Line Email To test if emails can be sent via the command line, SSH into your server and try echo “Is email sending OK..?” | mail -s “Sending email!” you@domain.com Nothing should return, if…

Categorized:

Move WooCommerce Product Long Description Into The Short Description Product Layout

Move Woocommerce Long Description

How to add the woocommerce product long description text into the short description product layout with a couple of woocommerce actions and the long description tab removal. Remove The Description Tab This tab by default has the long product description. The above will remove all 3 tabs just comment out which ones you want to…

Categorized:

Set hostname and fqdn in Ubuntu 18.04

Hostname Fqdn Ubuntu

Hostname in Ubuntu 18.04 You can find and change the hostname with the commands hostname or hostnamectl in Ubuntu 18.04, if you run the command on its own it will tell you what the current name is, example below it is racknerd-la hostnamectl root@racknerd-la:~# hostnamectl Static hostname: racknerd-la Icon name: computer-vm Chassis: vm Machine ID:…

Categorized: