Welcome to WP Beaches

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


Add a Manual Warm Up Cache / Cache Crawler to LiteSpeed Cache

Warm Cache Litespeed Crawler

In caching plugins normally pages are typically served from a cache after a visitor does an initial view then a cached copy of the page is served up to subsequent visitors via the cache who have faster viewing page loads. This works well in high traffic sites but if the site is more a brochure…


Removing Scheduled Actions from WooCommerce Action Scheduler

Woocommerce Stuck Action Scheduler

The Scheduled Actions that sit in WooCommerce Action Scheduler can get stuck with thousands of actions piling up, just stuck in a failed, canceled, pending or complete state. This can result in bloated database tables in particular wp_actionscheduler_actions and wp_actionscheduler_logs tables.   Since the states of failed, canceled or complete are already passed, you would be…


Set up WordPress wp-cron.php to run via real cron in cPanel, Cloudways and with Caching

Cron WordPress

By default the WordPress tasks that have been set up to run with wp-cron.php only run when a WordPress page is visited by a user, if the site has low traffic then tasks make take a while to action, if the site is high traffic and has caching then this can also cause reliability issues,…


Getting Browsersync running with Gulp 4 and Valet

Browsersync Gulp Valet

Get Browsersync going with Gulp 4+ and Valet as a local development environment. With Gulp 4+ there has been some code upgrades that require any older gulp.js files to be updated, this guide looks at making Browsersync work with Gulp with the local development tool being Valet. nodejs Ensure you already have nodejs and npm…


Adding Expires Header to htaccess

Expires Header Htaccess

Expires Headers are a set of rules or directives from a website to tell a user’s local browser to either look in its own cache for files or to request the files off the webserver, the former is better for speed of the web page load and a reduction in the webserver processing. For Apache…


Set Up Valet on macOS for Local WordPress Development


This is a guide on how to set up Laravel Valet on macOS for a WordPress local development environment. Using Valet as a WordPress local development solution has the main benefits of speed, being lightweight and using fewer configurations to go wrong than say a solution like Vagrant. There is a 2nd related article that…

Categorized: ,

Block xmlrpc.php requests from Cloudflares firewall apart from JetPack

Xmlrpc Block

You can block WordPress xmlrpc.php requests from Cloudflare but exclude the JetPack IP addresses by creating a custom firewall rule, attacks on xmlrpc.php are frequent and it is best now disabled as it will be deprecated from WordPress in the future. However, some of the more popular WordPress plugins such as JetPack still need to…


Change WooCommerce Sold Out text

Woocommerce Sold Out Text

You can change WooCommerce ‘Sold Out’ text set by the inventory setting of Sold Out with the WooCommerce filter woocommerce_get_availability_text Add the below snippet with your custom sold text to functions.php add_filter(‘woocommerce_get_availability_text’, ‘themeprefix_change_soldout’, 10, 2 ); /** * Change Sold Out Text to Something Else */ function themeprefix_change_soldout ( $text, $product) { if ( !$product->is_in_stock()…


Using WooCommerce with Varnish, exclude pages and cookies

Woocommerce Varnish Exclude Pages Cookies

To use WooCommerce with Varnish server-side caching you need to exclude some of the generic WooCommerce pages and cookies. Some web hosts will partially do this for you and others will give you an interface to add them yourself, make sure you ask the host what options are available Exclude from Varnish these WooCommerce pages…

Categorized: ,