Category: Web

Regenerate WP-Rocket .htaccess From Command Line

To regenerate the .htaccess file with WP-Rocket rules from the command line do the following: Install wp-rocket extension for wp-cli:

Regenerate the .htaccess file:

There are additional useful commands on the rocket extension. See https://github.com/GeekPress/wp-rocket-cli for details.    

Read More »

Magento 2 – Add Admin From Command Line

To add an admin user to a Magento 2 site from the command line, SSH to the server and change to the root directory of the Magento 2 install. Then run this command:

On a server with Plesk a

Read More »

Drupal Admin Password Reset With Drush

SSH into the website document root and install drush:

Use drush to reset admin user password:

 

Read More »

Quick WordPress Install With wp-cli

These steps assume that wp-cli is installed and a database has been created.

Here’s a prompted version:

 

Read More »

WordPress SSL Termination Fix

Add this code to wp-config.php to stop redirect loops caused by SSL termination on a proxy or load balancer:

 

Read More »

Get a free consultation from Reliable Penguin

Submit the form—or for immediate service call 866-649-7984.