> For the complete documentation index, see [llms.txt](https://docs.hostinger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hostinger.com/wordpress/installing.md).

# Installing WordPress

Step-by-step guide to installing WordPress on Hostinger via hPanel during website creation, on an existing site, or by importing from another host.

Install WordPress during website creation, on an existing site, or by importing from elsewhere.

## During website creation

Fastest path:

1. In hPanel, go to **Websites** → **Add website**.
2. Choose **Install WordPress**.
3. Select your domain or a free subdomain.
4. Optionally set:
   * WordPress admin username and password
   * Site title
   * Language
5. Complete setup.

WordPress is installed and running within seconds.

## On an existing website

1. Open your website dashboard.
2. Go to **WordPress** or **Auto Installer**.
3. Select **WordPress**.
4. Fill in:
   * **Domain** to install on
   * **Directory** — root (`/`) or subdirectory (e.g., `/blog`)
   * **Admin username and password**
   * **Admin email** — for resets and notifications
   * **Site title**
   * **Language**
5. Click **Install**.

## Import an existing site

### Option A: Migration wizard

1. In hPanel, go to **Migrations** or **Move to Hostinger**.
2. Follow the wizard and provide your current host credentials.
3. Hostinger imports files and database.

### Option B: Manual

1. Export your WordPress database as `.sql` (phpMyAdmin or `mysqldump`).
2. Archive WordPress files as `.zip` or `.tar.gz`.
3. Upload both to your Hostinger site's file storage.
4. Either use the [Import WordPress website](/api-reference/endpoints/wordpress/installations/import-wordpress-website.md) endpoint, or:
   * Extract the archive in File Manager
   * Import the SQL via phpMyAdmin
   * Update `wp-config.php` with new database credentials

## After installation

* Log in at `https://yourdomain.com/wp-admin`
* [Enable SSL](/websites/ssl.md) and update your WordPress URL to `https://`
* Install your theme
* Activate the **LiteSpeed Cache** plugin
* Set up [backups](/websites/backups.md)

## Troubleshooting

**Forgot your WordPress admin password**

* Use the WordPress login page → "Lost your password?"
* Or reset it in hPanel → website dashboard → **WordPress**.
* Or reset via phpMyAdmin by updating the `user_pass` field in `wp_users` with a new MD5-hashed password.

***

*Last updated: July 21, 2026*
