Category: Uncategorized

Postfix Gmail Bounce: This message does not have authentication information or fails to 550-5.7.26 pass authentication checks.

Gmail implements certain security measures to protect their users from spam. In this article we will look at some of the common reasons for this error.

  Introduction Some email service providers such as Gmail and Outlook implement security measures to combat spam. This means that if you try to send email from your server using postfix, it will most likely be rejected by these email providers. If you want to set up postfix on your server, please read: How to get…

Continue reading Postfix Gmail Bounce: This message does not have authentication information or fails to 550-5.7.26 pass authentication checks.

No Update Required - Your WordPress database is already up to date!

How to Fix: No Update Required: Your WordPress database is already up to date!

I was recently updating WordPress for a client and this message popped up. I could no longer access wp-admin and was locked out permanently! In this article I will go through the steps that solved the issue for me.

Introduction This issue appears to be related to caching, in my case the W3 Total Cache plugin and the file object-cache.php located in the /wp-content folder. If you update WordPress without disabling W3 Total Cache first, in some situations you may get locked out of /wp-admin and see “No Update Required: Your WordPress database is…

Continue reading How to Fix: No Update Required: Your WordPress database is already up to date!

Get Real Client IP from Cloudflare and pass to Apache or PHP using CF-Connecting-IP and Apache mod

How to Get the Real Client IP Address from Cloudflare in Apache or PHP

In this article we will learn how to get the real client IP from Cloudlfare (CF-Connecting-IP) and pass it on to PHP or Apache with mod_remoteip.

Introduction Cloudflare is great as a quick-and-easy CDN and DDoS protection, but one downside is that the IP address seen by your web server will be that of the Clouflare proxy and not the actual client. This can be a big security issue because your Apache access and error logs will only show the IP…

Continue reading How to Get the Real Client IP Address from Cloudflare in Apache or PHP

WooCommerce wrong attribute sort order

How to Change WooCommerce Variations and Attributes Sort Order

I was recently having an issue where the Size attribute was showing in the wrong order in the dropdown box for my variable product (S, L, M instead of S, M, L).  WooCommerce allows you to control the order that your custom attributes and variations appear in the template either alphabetically, by term ID, or by a completely custom sort order.

Product Attribute/Variation Sort Order Type To change the attribute or variation sort order type alphabetically, by term ID, or a custom sort order: In the left-hand menu, click Products and then click Attributes. On the WooCommerce Attributes page, hover over the attribute you want to change (in this example Size) and click Edit. In the…

Continue reading How to Change WooCommerce Variations and Attributes Sort Order

Create Custom Display Resolution Nvidia GeForce

Nvidia GeForce Resolution Missing? How to Create a Custom Resolution in Windows

If your monitor and graphics card support a higher resolution such as 2560 x 1440 but Windows is not showing anything higher than 1920 x 1080, you may be able to force a higher resolution using the Nvidia Control Panel.

Introduction I recently bought a HP Pavilion Gaming Monitor 32″ QHD (2560 x 1440) and plugged it into my 2011 Sony Vaio laptop with an Nvidia GeForce GT 330M, only to find that the max resolution reported by Windows 10 was 1920 x 1080 😪. The specs for the GeForce GT 330 clearly state the…

Continue reading Nvidia GeForce Resolution Missing? How to Create a Custom Resolution in Windows

How to Install Composer and PHP on Windows 10

How to Install Composer and PHP on Windows 10

In this guide we will install Composer and PHP on Windows 10 so that we can install dependencies for our web apps directly from Windows command line.

1. Download and Install Visual C++ In order to run PHP on Windows 10, you will need to install Visual C++ Redistributable for Visual Studio. You can download it from the Windows Download page or click the direct link below. In most cases you will need the 64 bit version unless your PC is old,…

Continue reading How to Install Composer and PHP on Windows 10

60% Increase in AdSense Revenue with Ezoic

My Ezoic Review After 1 Month – Using AI to Increase Ad Revenue

Ezoic uses artificial intelligence to increase ad earnings by automatically testing different ad types across your site. In this Ezoic review, I will outline my own experience after one month on the platform.

Ezoic Review – The Invitation About a year ago I started receiving emails from Ezoic representatives saying they could increase the ad revenue on two of my sites. Sceptical of their claims and too busy with other jobs at the time, I ignored their emails and eventually forgot about it. A year later they emailed…

Continue reading My Ezoic Review After 1 Month – Using AI to Increase Ad Revenue

Connect your store to WooCommerce.com to receive extensions updates and support.

How to Get Rid of “Connect your store to WooCommerce.com to receive extensions updates and support.”

Method 1: Use a Function A quick fix to get rid of this nag is by using a custom function. Add the following to your functions.php. add_filter( ‘woocommerce_helper_suppress_admin_notices’, ‘__return_true’ ); Just be aware that this may quash other admin messages originating from WooCommerce.  Method 2: Use a Plugin I’ve made a simple plugin which will…

Continue reading How to Get Rid of “Connect your store to WooCommerce.com to receive extensions updates and support.”

Search and Replace all URLs and links in WordPress, HTTP to HTTPS

Find and Replace all URLs or Text in a WordPress Database

Whether it’s a domain name change or a transition from HTTP to HTTPS, in this guide we will find and replace URLs (or any text) in your WordPress database using a few different methods.

SQL Query Examples The best way to find and replace content in your WordPress database is by running SQL queries in either phpMyAdmin, shell command line or a PHP script. If you are not comfortable working directly with the database, we have included some plugins at the bottom of the page. ⚠ Always make sure…

Continue reading Find and Replace all URLs or Text in a WordPress Database

PHP setlocale and strftime Not Working

I was recently having problems displaying the day and month name in my local language after a server move. This was due to a missing locale.

If you don’t have shell access to your server, you may need to contact your web host for assistance. Firstly, check which locales are currently installed on the server. locale -a en_US.utf8 Above we can see only en_US.utf8 is installed. If your required locale is missing, you may need to install it using dpkg-reconfigure locales. sudo pkg-reconfigure…

Continue reading PHP setlocale and strftime Not Working