How to create a Staging Site

  • Go to the customer’s account in WHMCS
  • Go to products and services
  • Look for the blue button and login to the customer’s cPanel’s account
  • Click on wordpress
  • You should be able to do it if you install the customer’s website in wordpress installer
  • Click on all installations
  • Click on staging
  • Use a subfolder
  • Choose https
  • Choose the domain name
  • Make a directory name staging
  • Click on create staging
  • Go back to all installations and you will now see the staging account
  • Push to live

*Be careful when pushing to live as it will override the whole thing.

How to create a new wordpress user using the WP CLI

Sometimes you may not have a login to a user’s WordPress account. The method below gives a nice work around to create an account for yourself. Its a bit technical, but it works well.

  • Log in to whmcs, and go the product. Take note of the cpanel username and password
  • Open up a console and type ssh [email protected] -p 7822
  • go to the WordPress directory.   cd /public_html
  • type wp user create username [email protected] --role=administrator --user_pass=mypassword
Subscribe To Our Newsletter

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!