Skip to content
TatiCreative
All articles

· 7 min read · Mert Tati

How to Install WordPress: cPanel, Localhost and Theme Setup (2026)

How to install WordPress: one-click cPanel and manual installs, a local test site on localhost, theme installation and the settings to fix right after setup.

Short answer: to install WordPress, all you need is a domain name, hosting that supports PHP and MySQL/MariaDB, and a few minutes. The easiest route is the one-click installer in hosting panels like cPanel; you can also install it manually by uploading the files and creating the database yourself. And if you just want to experiment, you can do a localhost install on your own computer.

Data center server rack with blue lights

Before you install: what do you need?

We covered what WordPress is and why so many people choose it in our post what is WordPress and what is it used for. Before you start the installation, make sure you have everything on this list:

  • A domain name: your site's address (for example, yourcompany.com).
  • Hosting: a plan that supports PHP and MySQL or MariaDB. Check the requirements page on wordpress.org for current version requirements, and confirm your host offers an up-to-date PHP version.
  • An SSL certificate: your site should load over https; most hosts offer free SSL.
  • Access to your hosting panel: cPanel, Plesk, CyberPanel or your host's own panel.
  • A strong administrator password and a hard-to-guess admin username (don't use admin).

If your domain's DNS records don't point to your hosting server yet, set that up before installing; DNS changes can take a while to propagate.

Method 1: Install WordPress with cPanel (one click)

Most shared hosting plans come with cPanel and an app installer such as Softaculous. Here's how to install WordPress through cPanel:

  • Log in to cPanel and find the “Softaculous Apps Installer” or “WordPress” icon.
  • Click the “Install” button.
  • Choose https:// as the protocol and select your domain.
  • Leave the directory field empty; otherwise the site will be installed in a subfolder such as yourcompany.com/wp.
  • Enter the site name, admin username, password and email address.
  • Pick your site language (Turkish, in our case, for a Turkish-language site).
  • Start the installation; when it finishes, you'll see your dashboard address (yourcompany.com/wp-admin).

If your host uses a different panel, the steps are similar; many panels put an “Install WordPress” option right on the main screen.

Method 2: Install WordPress manually

If there's no one-click installer, or you want full control over the installation, you can install WordPress by hand. It takes a few more steps, but it helps you understand what's happening behind the scenes:

  • Download the latest WordPress package from wordpress.org.
  • In your hosting panel, create a MySQL database and a user with full privileges on it; note down the database name, username and password.
  • Using the file manager or FTP, upload the package to your site's root folder (usually public_html) and extract it.
  • Visit your domain in a browser; the WordPress installation wizard opens.
  • Choose a language, then enter the database details. You can change the table prefix from the default wp_ to something else.
  • The wizard creates the wp-config.php file; finish the installation by entering your site name and admin account details.

If the wizard can't write wp-config.php, simply create a file with that name yourself, paste in the content it shows you and save it in the root folder. This file contains your database password, so never share it with anyone.

Method 3: Install WordPress on localhost (on your computer)

Open laptop on a desk at night, a local development setup

To try things out before going live, test themes or plugins, or simply learn WordPress, you can install it on your own computer. A localhost install runs only on your machine; it can't be reached from the internet.

  • Install a local server package such as XAMPP (Windows, macOS, Linux) or MAMP (macOS, Windows); these bundle Apache, PHP and MySQL together.
  • Start the server and the database, then create a new database in phpMyAdmin.
  • Extract the WordPress package into the local server's web folder (htdocs in XAMPP).
  • Go to localhost/folder-name in your browser and follow the same wizard steps as the manual install. On local installs, the database user is usually root.
  • Alternatively, you can use desktop apps that spin up a local WordPress site in one click.

When you move a site built on localhost to a live server, you need to migrate the files and the database together, and replace the localhost URLs in the database with your real domain. Migration plugins or search-and-replace tools handle this.

How do you install a WordPress theme?

After installation, your site opens with the default theme. There are two ways to change it:

  • From the theme directory: go to Appearance > Themes > Add New, search for the theme, then click “Install” and “Activate.”
  • From a zip file (premium themes): go to Appearance > Themes > Add New > Upload Theme, upload the zip file you bought and activate it.
  • After installation, the theme may recommend plugins (a page builder, for example); install only the ones you'll actually use.
  • If you plan to edit theme code, use a child theme; otherwise a theme update will wipe out your changes.
  • If you're importing demo content, do it on an empty site; demo content can overwrite your existing pages.

Settings to configure after installation

Setting up a WordPress site doesn't end when the dashboard loads. Here's a checklist of what to do on day one:

  • Settings > General: site title, tagline, time zone (Istanbul, for sites in Turkey) and date format.
  • Settings > Permalinks: choose the “Post name” structure; changing this after the site goes live can hurt your SEO.
  • Delete the sample content: the “Hello world!” post, the sample page and the sample comment.
  • If you don't need comments, turn them off under Settings > Discussion; open comments are the most common source of spam.
  • Remove default themes and plugins you don't use.
  • While the site is being built, use the “Discourage search engines from indexing this site” option under Settings > Reading, and don't forget to turn it off at launch.
  • Set up a backup solution and take your first backup.
  • Check for updates: core, themes and plugins should all be up to date.

Security right after installation

A freshly installed site lands on bots' scan lists very quickly; password-guessing attempts against the well-known wp-login.php address usually start within the first few days. Use a strong password and two-factor authentication on the admin account, limit login attempts and consider hiding the login URL. For an in-depth look, see our posts on how to secure a WordPress site, blocking brute force attacks and the best WordPress security plugin. You can also take a look at Hushfort, our own plugin that brings the login side of these steps together in one panel.

Common installation errors

  • “Error establishing a database connection”: the database name, username, password or host is wrong; check the details in wp-config.php.
  • The site loads over http: SSL isn't installed, or the addresses under Settings > General don't start with https.
  • White screen or 500 error: usually caused by the PHP version, the memory limit or an incompatible plugin; check the error logs in your hosting panel.
  • The site opens in a subfolder: the directory field was filled in during installation.
  • 404 errors on permalinks: the server's rewrite rules aren't working; saving the permalink settings once usually fixes it.

Should you install it yourself?

The installation itself is easy; the hard part is keeping the site fast, secure and well maintained. For a test site or a personal blog, you can absolutely do it yourself. If you're building a site for your business, design, speed, SEO and maintenance need to be planned as a whole. If you're wondering what drives the cost, see our post on website prices in 2026. At Tati Creative, our Izmir-based team provides software and hosting services covering everything from WordPress installation to servers, SSL, backups and update maintenance.

Frequently asked questions

How long does a WordPress installation take? A one-click install usually takes a few minutes; a manual install takes a bit longer because of the database and file upload steps. The real time goes into the theme, content and settings.

Can you install WordPress without hosting? Only on localhost, meaning on your own computer. To publish the site on the internet, you need hosting and a domain name.

Can I install WordPress in Turkish? Yes. You can choose Turkish in the installation wizard or on the Softaculous screen, and you can change the site language later under Settings > General.

Will changing my theme delete my content? No. Your posts, pages and images stay where they are. However, theme-specific widget areas, shortcodes or page builder layouts may look different in the new theme, so try the switch in a test environment first.

In short: a domain name, suitable hosting and SSL are all you need to install WordPress. The easiest route is the one-click install in cPanel; a manual install means creating the database and uploading the files yourself, while a localhost install lets you experiment on your own computer. After installation, sort out permalinks, your theme, backups and basic security on day one.

More articles

Request a call

Describe your project in 60 seconds.

Fill in the short pre-form; we'll match you with the right person and reply within 24 hours.

A native English-speaking Project Lead from our team runs your project with you.

01 / 04

Which areas do you need help with?

  • UI/UX & Product Development
  • AI Solutions
  • Graphic & Brand Design
  • Software & Hosting
  • Studio & Production
  • Social Media
  • Digital Marketing
  • Digital Transformation
  • Industrial IoT (IIoT)
Average response time< 24 hours