Welcome to WP Beaches

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

RECENT POSTS

Reset Permissions to WordPress Site for Files and Directories

Wordpress File Folder Permissions

If your permissions are incorrect for files and folders in a webroot domain of a WordPress site more than likely you’ll get a server 500 error. Here is how to fix them by resetting the permissions via the command line, especially using the correct defaults for a cPanel domain or other web server for files…

A look at various types of CSS selectors and differences between them.

Css Cascade

CSS styling can get very specific and you can target less classes and IDs in the HTML markup, and instead target cascading HTML elements – here we take a look at the various CSS Selectors, and give some simple examples of how the selector is written and what it targets. Descendant Selector The descendant selector…

Install Git on macOS Big Sur and earlier with Homebrew or Packaged File

Install Git Macos

You can install Git on macOS Big Sur, Catalina, Mojave, Sierra, or an older Mac OSX version by a couple of options, one is to use Homebrew to install Git by installing Homebrew first and then issuing: brew install git You can also download install a easy to install package file getting the latest git…

Remotely connect to Amazon S3 Bucket from the macOS command line

Amazons3 Macos

Connecting your macOS to AmazonS3 storage buckets. This process requires a couple of Unix tools installed, s3cmd and gpg (optional), s3cmd is the command line tool used to connect to Amazon S3 and gpg is an optional secure tool allowing data transfer to be encrypted over HTTPS between you and Amazon. This guide uses Homebrew…

Set up Virtual Hosts on macOS Big Sur 11 in Apache

Macos Apache Vhosts

Setting up Virtual Hosts in Apache on on macOS Big Sur is straight forward after you have your local Web Development environment up and running – get your web development up and running first including Apache, PHP and MySQL on macOS following this macOS Big Sur Apache/PHP/MySQL guide here if required. This guide will also…

Create an FAQ Page with Show and Hide Questions and Answers using jQuery

Faq Page Using Jquery

This guide shows how to create a basic expandanle/contractable FAQ page using jQuery, html and CSS. Just click the steps below to see the code or refer to the whole code snippet at the end. The CSS supplied is very basic to get the page started. What jQuery do I need? Include the latest jQuery…

Set up Swift Performance Cache with Optimus Prime in Local Mode

Swift Performance Optimus Prime

Optimus Prime is a cache warmer to load web pages faster on initial load by querying all pages on a websites sitemap via the sitemap URL, it works in harmony with a cache plugin preloading tool. Optimus Prime also has a local mode in which it checks the local cache folder for cached relative URLs…

Installing & Configuring Apache on macOS using Homebrew

Apache Homebrew Macos

Eventhough Apache ships with macOS, a better maintained version would be coming from Homebrew, also Apple is making noises about not supporting legacy software like PHP so in the future this may be more of a compulsory option. First thing to do would be to remove the builtin Apache version of which in macOS Big…

Installing MariaDB Database Server on macOS

Mariadb Install Macos

MariaDB is an alternative to MySQL database which is more performant with a full open license, you can install it easily on macOS via Homebrew. The first step is to install Homebrew on your computer and possibly to remove any older MySQL database server versions. Once Homebrew is installed, on the command line: brew install…