WordPress

WordPress One-Click Install

Install WordPress in 30 seconds with WP-CLI under the hood.

3 min read

WordPress One-Click Install

GHP Cloud installs WordPress in about 30 seconds using WP-CLI. The one-click installer handles downloading WordPress, configuring the database connection, running the installation wizard, and configuring sensible defaults — no browser wizard needed.

Running the installer

1. Open your site in GHP Cloud

2. Click the WordPress tab

3. Click Install WordPress

4. Fill in the installation form:

- Site title — the name of your WordPress site

- Admin username — choose something other than admin for security

- Admin email — used for password resets and notifications

- Admin password — GHP Cloud suggests a strong password; you can change it after install

5. Click Install

GHP Cloud runs the following WP-CLI commands on your server:

bash
wp core download --locale=en_US
wp config create --dbname=site_db --dbuser=site_user --dbpass=... --dbhost=localhost
wp core install --url=https://example.com --title="My Site" --admin_user=admin --admin_email=...

Once complete, the WordPress tab shows a Manage in WordPress button that takes you directly to your WP admin.

Post-install configuration

After installation, GHP Cloud automatically:

  • Enables HTTPS by adding FORCE_SSL_ADMIN to wp-config.php
  • Configures file permission hardening to prevent WordPress from modifying its own core files
  • Sets WP_DEBUG to false
  • Configures the uploads directory at wp-content/uploads with correct permissions

WP-CLI access

You can run WP-CLI commands from the GHP Cloud terminal. Click WordPress → WP-CLI to open a terminal pre-authenticated as the site user. Run any WP-CLI command:

bash
wp plugin list
wp user list
wp cache flush
wp search-replace 'http://old-domain.com' 'https://new-domain.com' --all-tables

Reinstalling WordPress

If WordPress files are corrupted or you want a fresh start, click WordPress → Reinstall Core. This re-downloads WordPress core files without touching your database, themes, plugins, or uploads.

Was this article helpful?

Need help? →