Magento 2: Command List for Beginners

Create an admin user using the CLI: Unlock admin user account using the CLI: Setup upgrades using the CLI: Setup upgrades without removing pub/static files using the CLI: Uninstalling the Magento application using the CLI: Cache cleaning using the CLI: Cache cleaning with specific type using the CLI: Disable cache using the CLI: Disable cache … Read more

IP Geolocation Script

This repository contains a small script that you can use when you need to geolocate a bunch of IP addresses. It uses the IP2C API, which is free and doesn’t require any registration or API key. It takes a file containing a list of IPs as an input, and outputs a CSV friendly format. Input … Read more

Replace WordPress with a Know Good Copy

Here is a way to replace wordpress files with known good copies. Download WordPress files from GitHub repository The wp-content folder and the wp-config.php file are the only unique items in wordpress. (with the exception of domain verification files.) It contains media, plugins, and themes. Download a fresh copy of the WordPress files from the … Read more

Set up A site Maintenance Page

This is an easy site maintenance page to use to set a site for maintenance. We will move html to backup. The install a new html folder. You can replace the html folder as needed (i.e., cPanel public_html). And here it is… To restore the site.

How to Test a Slow Website

Curl Output: A brief explanation of each option is shown below: time_connect – Display the time in seconds from the connect was noticed by curl until the first byte arrived.time_namelookup – Display the time in seconds it took from the start until the name resolving was completed.time_pretransfer – Display the time in seconds it took … Read more

How to change the Magento administrative session timeout interval

Changing the session timeout interval By default, Magento automatically logs out administrators when connections are idle for a certain amount of time (specifically, the value of the session.gc_maxlifetime PHP directive). However, you can increase or decrease this interval according to your own requirements. To determine the current value of the session.gc_maxlifetime PHP directive on your … Read more