Unfortunately Magento 2 can add the wrong product canonical tag containing a 301 redirect URL. In the following file and method it can be fixed:(more…)
Below is an example of two aggregate
SUM statements on a single join with
different criteria. One gives the total downloads count of an user on all days,
the other filters the same sum on past 30 days.
The query below tends to be very slow in Wordpress when WooCommerce has a lot of data. In some cases it takes up to 10 seconds.(more…)
In Magento 2 you can use the admin option New Order Status within
Configuration -> Sales -> Payment Methods. Unfortunately it is not possible to
change the status to
Processing for Offline Payment Methods such as
Money order with the code name
checkmo. By default you are stuck with
Pending but this can be fixed using the code in this article.
Recently I bought the USD Aeon 80 skates. I truly love these skates because by putting a full rocker setup on them I can enjoy Freestyle and Aggressive at the same moment at the park. They feel close to my dedicated Freestyle skates (FR Igor) due to the same wheel size. Though the USD skates have an issue..(more…)
When gmail is not showing a html image, make sure to check the following things.(more…)
At times it is useful to search for a pattern in all domains their access log files on a web server. This can easily be done by combining the commands find and grep without complicated script loops.(more…)
The Linux script in this article shows how to search files by content using grep and archive them automatically using zip with relative paths from the working directory defined.(more…)
By default the command
apachectl configtest does not check whether the
defined log folders exist. This causes the config test to give positive
feedback about valid config files, but when restarting apache2 it might fail
due missing folders.
This article covers the checklist I use when migrating a website on a Linux web server. It aims at a downtime of 1-5 minutes.(more…)