CompareHostingOnline

Home / Guides / How to install WordPress on your hosting: one-click and manual

Guide

How to install WordPress on your hosting: one-click and manual

Two ways to install WordPress, the one-click installer and a manual install, plus what to do right after: HTTPS, updates, backups and safe settings.

By Muhammad Hamza, Founder & EditorUpdated Nov 30, 2026
UpdateshandledCachinghandledBackupshandledSecurityhandled

Short answer

Most hosts offer a one-click installer in the control panel that sets up WordPress and its database in minutes. A manual install works on any host that has PHP and a MySQL or MariaDB database. Afterwards, turn on HTTPS, set up backups and update everything.

Last verified Nov 28, 2026 · How we test
At a glance
  • What do you need before you install WordPress?You need a hosting account that meets WordPress's requirements, a domain name pointing to it and a login for the control panel.
  • How do you install WordPress with a one-click installer?The installer creates the database, downloads WordPress and writes the configuration for you.
  • How do you install WordPress manually?A manual install gives you control and works on any host.

What do you need before you install WordPress?

You need a hosting account that meets WordPress’s requirements, a domain name pointing to it and a login for the control panel. The WordPress project recommends a host that supports a current PHP version, MariaDB or MySQL, and HTTPS, and it says Apache or Nginx are the most robust choices. Check the current numbers on the official requirements page; our guide to WordPress hosting requirements explains what they mean. If the domain is not yet connected, follow how to point a domain to your hosting.

How do you install WordPress with a one-click installer?

The installer creates the database, downloads WordPress and writes the configuration for you. It is the best choice for most people, and many hosts add automatic updates for the core, themes and plugins.

  1. Open the installer

    In cPanel this is often Softaculous or a WordPress Manager; other panels have similar tools.

  2. Choose the domain and folder

    Install on the main domain unless you want WordPress in a subfolder.

  3. Set the admin details

    Use a unique username, a strong password and a real email address.

  4. Install and log in

    Visit /wp-admin on your domain and sign in.

How do you install WordPress manually?

A manual install gives you control and works on any host. Create a database and a database user in the panel and note the name, user, password and host. Download WordPress from wordpress.org, upload the files to your site folder by SFTP or the file manager, then visit the domain in a browser. The setup screen asks for the database details and creates the configuration file. On a server with SSH access you can do the same with WP-CLI, a command-line tool described at wp-cli.org, which is handy for repeatable setups; see what SSH access is.

What should you do straight after installing?

  • Turn on HTTPS and redirect http to https; see what an SSL certificate is.
  • Update WordPress, themes and plugins, and enable automatic updates for security releases.
  • Delete unused themes and plugins; deactivated code can still be exploited.
  • Set up backups of files and database; see website backups.
  • Set permalinks to a readable structure and check that search engines are allowed when you launch.
  • Create a separate editor account for daily work instead of using the administrator login.

How do you keep a new WordPress site secure?

Most WordPress compromises come from outdated plugins and themes, weak passwords and reused credentials. Keep everything updated, use strong unique passwords with a password manager, turn on two-factor login for administrators and limit login attempts. Install plugins only from sources you trust and only the ones you need. A web application firewall and a CDN add protection. The WordPress developer documentation has a hardening guide with more detail.

How do you make it fast from the start?

  • Use a current PHP version; see PHP versions on hosting.
  • Turn on server or plugin page caching.
  • Use a lightweight theme and avoid heavy page builders if you can.
  • Compress and resize images before uploading.
  • Add object caching on busy sites; see Redis object caching.
  • Check results with the guidance in what TTFB is.

What if something goes wrong?

If the installer fails, check that the folder is empty and that the database details are right. A white screen usually means a PHP error: enable error logging and read the log. If you cannot log in, reset the password by email or with WP-CLI. If you are stuck on a host problem, test the support with a specific question and include the error text. Keep a backup so you can roll back a failed change. If the site later needs to move, use the website migration checklist.

What are the common mistakes?

  • Using “admin” as the username and a weak password.
  • Installing dozens of plugins “just in case”.
  • Leaving the default sample content and unused themes.
  • Skipping backups until after the first problem.
  • Installing on a plan that does not meet the requirements and then wondering why it is slow.

A worked example: from empty hosting to a secure blog in an hour

A new owner buys a plan and points their domain to it. They open the installer, choose the domain and set a unique admin name and a strong password from a password manager. Once WordPress is installed, they log in, update to the latest version, turn on automatic updates for security releases, delete the default plugins and themes they will not use and install one trusted caching plugin. They activate HTTPS and force the redirect, set permalinks to the post name structure and create an editor account for daily writing.

Finally they schedule daily backups to remote storage and run a restore test on a copy. The site is live, safe and ready for content, and the setup took about an hour because they followed a checklist.

What should you configure in the dashboard first?

  • General settings: site title, tagline, time zone and the site address.
  • Reading settings: confirm search engines are allowed once you launch.
  • Discussion settings: moderate comments to limit spam.
  • Users: remove unused accounts and give each person the lowest role they need.
  • Permalinks: choose a readable structure before you publish content.

Sources and further reading

Common questions

Do I need to install WordPress manually?

No. Most hosts offer a one-click installer. A manual install is useful when your host has none or you want full control of the setup, and it works on any host with PHP and a MySQL or MariaDB database.

What should I do right after installing WordPress?

Enable HTTPS, update everything, delete unused themes and plugins, set up backups, set permalinks and create a separate editor account. Turn on two-factor login for administrators if you can.

Where do I log in to WordPress?

Add /wp-admin to your domain, for example example.com/wp-admin, and sign in with the admin details you chose during installation. If you forget the password, use the reset link or WP-CLI.

Is one-click install safe?

Yes, installers use the official WordPress package. Safety then depends on your updates, passwords and plugins. Check that the installer offers the current version and enable automatic security updates.

Can I install WordPress in a subfolder?

Yes, for example in example.com/blog. Choose the folder in the installer or upload to that folder manually. A subfolder suits a blog on a larger site; see our subdomain versus subfolder guide for the trade-offs.

Related

More guides

Esc

Use the arrow keys, then Enter.