How To Backup A WordPress Site

If you run WordPress websites, you’ll spend a large proportion of your time backing up sites. There are two main reasons you’ll be backing up a site: One-time backups for doing updates, moving the website or improving the site Regular backups in case the server goes down, you accidentally delete something or the website gets … Read more

How To Fix WordPress

WordPress generally runs smoothly, but as with any system, things can go wrong. There are some common fixes that will solve most of the problems you’ll encounter. How to fix WordPress: Turn on debugging Check for a .htaccess problem Check the PHP version Check the WordPress memory limit Increase the Maximum Execution Time Save the Permalinks Clone the … Read more

Find The Nearest Location From An Array of Coordinates In PHP

As I discussed in previous tutorials, we have the visitor’s latitude and longitude, and an array of locations. Now we can combine the two to figure out which location in that array is closest to our starting coordinates. What is the fastest way to find the nearest location out of an array of coordinates? Import the array of coordinates Based on the array of coordinates, create another array … Read more