How to Set Up WordPress: Install and Configure in 2026
The fastest way to set up WordPress is your host’s one-click installer: pick a plan, choose WordPress in the control panel, enter a site title and admin login, and the site is live, with its dashboard at yourdomain.com/wp-admin. WordPress’s own documentation says that under most circumstances installing it “takes less than five minutes to complete.” The manual route, which uses five steps and an FTP client, gives the same result. What separates a tidy site from a neglected one is the configuration afterward: permalinks, updates, HTTPS, search visibility and backups. As of November 2026, W3Techs reports WordPress on 38.5% of all websites and 57.4% of sites whose content management system it can identify, so the setup is among the best documented on the web (W3Techs).
What you need before installing
| Item | Recommended as of November 2026 |
|---|---|
| PHP | 8.3 or greater |
| Database | MariaDB 10.11 or greater, or MySQL 8.4 or greater |
| Transport | HTTPS support |
| Web server | Apache or Nginx recommended; any server with PHP and MySQL works |
| Legacy minimum | PHP 7.4+ and MySQL 5.5.5+ still work, but the page says these versions “have reached their official End Of Life and may expose your site to security vulnerabilities” |
These figures come from the WordPress.org requirements page, and the download page repeats the PHP and database versions. The requirements page says each host on WordPress.org’s hosting page supports them “with no problems”, and it includes a short request you can copy and send to any other host to confirm. You also need a domain name and an admin email address you check. The install guide adds that it is good to verify “that e-mail delivery is working properly on your host”, since WordPress sends password-reset links and notifications by email (WordPress install guide).
Hosting plans that matter for a first WordPress site
Plan limits decide whether you can run a second site later. These are the two cheapest plans on each host’s web hosting page as listed on 20 November 2026, during both hosts’ Black Friday sales. The introductory price means paying for the whole term upfront, and the plan then renews at the higher rate; Hostinger’s renewal price assumes you renew for the same term.
| Host and plan | Intro price | Renewal | Websites |
|---|---|---|---|
| Hostinger Premium | $1.99/mo (48 months prepaid) | $10.99/mo | 3 |
| Hostinger Unlimited | $2.79/mo (48 months prepaid) | $16.99/mo | Unlimited |
| SiteGround StartUp | $1.99/mo (12 months prepaid) | $17.99/mo | 1 |
| SiteGround GrowBig | $3.99/mo (12 months prepaid) | $29.99/mo | Unlimited |
Hostinger says its Premium, Unlimited and Cloud Startup plans include a free domain for one year when you order for a year or longer (Hostinger). SiteGround lists free SSL, CDN and backups on all three of its plans, and its FAQ adds a free .com, .org or .net domain for the first year (SiteGround). Our Best Web Hosting 2026 comparison covers the wider field.
Which installation method to use
| Situation | Best method | Why |
|---|---|---|
| Host offers an installer (many do) | One-click | The installer sets WordPress up for you; Hostinger says it is “installed and running within seconds” |
| Host has no installer, or you want full control of files | Manual | Five steps; needs FTP and database access |
You want to edit wp-config.php before the install runs | Manual | The configuration file is step 3 of the manual process |
Method 1: One-click installation
Hostinger
According to Hostinger’s documentation, the quickest path is during website creation: in hPanel go to Websites, then Add website, then choose Install WordPress. You select a domain or a free subdomain and can set admin credentials, site title and language. For a site that already exists, open its dashboard, go to WordPress or Auto Installer, select WordPress, choose the domain, choose the root or a subdirectory such as /blog, enter the admin credentials, admin email, title and language, and click Install.
SiteGround
SiteGround’s knowledge base says to start a new site from Websites > New Website and select WordPress in step 2. For an existing site, go to Websites, then Site Tools, then Devs, then App Installer, open the Application menu and select WordPress, then fill in the Application Setup and Admin Info details. WordPress cannot be installed on a site built with the SiteGround Website Builder.
Any other host
Look for “WordPress”, “Auto Installer”, “App Installer” or “Softaculous” in the control panel. The fields are much the same everywhere: site title, admin username, admin password, admin email and install location (normally the root of the domain). Avoid an obvious admin username such as “admin”: WordPress’s hardening guide says easily guessed names “are typically subject to attacks first”. Choose a long unique password, and use an admin email you read, since password resets go there. Then open yourdomain.com/wp-admin and log in.
Method 2: Manual installation in five steps
WordPress’s installation guide lists these steps.
- Download and unzip the package from wordpress.org/download. The hardening guide says to “never download or install WordPress from any website other than https://wordpress.org.”
- Create a database and a MySQL or MariaDB user “who has all privileges for accessing and modifying it.” If your only database is already in use, the guide says you can install into it with a distinctive table prefix.
- Set up
wp-config.phpby renamingwp-config-sample.phpand enteringDB_NAME,DB_USER,DB_PASSWORDandDB_HOST(usuallylocalhost, “but not always”), plus the secret keys and salts in the section labeled “Authentication Unique Keys and Salts.” This step is optional because the installer can create the file. - Upload the files to the web root, or a subdirectory such as
/blog, with an FTP client. If the client can convert file names to lower case, switch that option off. - Run the install script by visiting
https://example.com/wp-admin/install.php, then enter the site title and admin details.
Fixes for the failures the guide lists
| Symptom | Cause according to the install guide | Fix |
|---|---|---|
| Directory listing instead of a page | The web server needs to be told to view index.php by default | On Apache, add the DirectoryIndex index.php directive, most simply in an .htaccess file in the install directory |
| ”Headers already sent” | Probably a syntax error introduced while editing wp-config.php | Open the file in a text editor, check its first line, save it without a byte order mark (BOM) and upload it again |
| PHP code showing in the browser | PHP is not working properly | Check that PHP is installed and configured to meet WordPress’s requirements, or ask the host for help |
| Database error during the install | Wrong database details in wp-config.php, a user without permission on the database, or a database server that is not running | Re-check all three; if “Error connecting to database” persists with correct settings, the guide suggests resetting the MySQL password manually |
The first 30 minutes after installing: a checklist
Run these in order on a fresh site; the sections that follow explain each one. Menu names are those in WordPress 7.1.
| Order | Task | Where | Detail |
|---|---|---|---|
| 1 | Set permalinks | Settings > Permalinks | Choose Post name |
| 2 | Confirm HTTPS | Settings > General | Both addresses begin with https:// |
| 3 | Check search visibility | Settings > Reading | ”Discourage search engines” unchecked at launch |
| 4 | Set the front page | Settings > Reading | Static page for the home page if you want a business-style site |
| 5 | Delete sample content | Posts, Comments, Pages | Remove the default post, comment and page |
| 6 | Install a theme | Appearance > Themes > Add Theme | Block theme if you want the Site Editor |
| 7 | Install few plugins | Plugins > Add Plugin | Install Now, then Activate |
| 8 | Turn on updates | Dashboard > Updates, Plugins | Enable plugin auto-updates you trust |
| 9 | Lock down | wp-config.php | Disable dashboard file editing |
| 10 | Back up | Host panel or plugin | Store a copy off the server |
Permalinks
On Settings > Permalinks, WordPress shows the structures: Plain gives http://www.sample.com/?p=123, while Post name gives http://www.sample.com/sample-post (Settings Permalinks screen). Google’s guidance on URL structure recommends “readable words rather than long ID numbers” and hyphens instead of underscores. Click Save Changes. If .htaccess is not writeable, WordPress prints the rewrite rules for you to paste in manually. Set this before publishing: the documentation says a permalink should “never change”, so altering the structure later changes every address.
HTTPS and the two address fields
Hostinger and SiteGround both say they install free SSL certificates automatically (Hostinger, SiteGround). Load the site and confirm the padlock, then open Settings > General and check that “WordPress Address (URL)” and “Site Address (URL)” start with https:// (Settings General screen). To force secure logins, the wp-config documentation describes FORCE_SSL_ADMIN as the setting “for when you want to secure logins and the admin area.” If either address field cannot be edited, WP_SITEURL or WP_HOME is defined in wp-config.php; these constants override the database values without changing them, so correct the address there.
Search visibility and the front page
Under Settings > Reading, “Discourage search engines from indexing this site” adds a noindex,nofollow robots meta tag (since WordPress 5.3), and the page notes that it is “up to search engines to honor your request” (Settings Reading screen). It is a sensible switch while you build and a launch-day mistake if left on. The install screen offers the same checkbox, so review this setting even if you have never opened Settings > Reading. Settings > Reading also sets the home page: choose “A static page” and pick a page. The Home page and Posts page cannot be the same, and if you leave the Posts page empty, posts are reachable only through archives and similar links.
Delete the sample content
A fresh install includes a “Hello world!” post, a sample comment from “A WordPress Commenter”, a “Sample Page” and a draft “Privacy Policy” page (wp_install_defaults() reference). Delete the first three from Posts, Comments and Pages, and keep the privacy page to edit before launch.
Choose a theme: block or classic
The Site Editor documentation says the Site Editor “is only available when you install and activate a Block theme.” Go to Appearance > Themes and click Add Theme (the documentation still calls it Add New), choose the Block Themes tab if you want the Site Editor, activate the theme, and open Appearance > Editor. Classic themes keep their own customization screens. Anyone who prefers visual builders should read WordPress Page Builders Compared before deciding.
Plugins: install few, update all
The plugin documentation gives three installation paths: the built-in installer (Plugins > Add Plugin, which the documentation calls Add New, then Install Now and Activate), a zip upload with Upload Plugin, or manual SFTP into wp-content/plugins. It also advises a current backup before updating. The hardening guide says “if you are not using a specific plugin, delete it from the system.” A short list covers most sites: one SEO plugin, one backup solution, one security plugin and a forms plugin. Wordfence, for example, lists two-factor authentication through any TOTP app, login-attempt limiting, a firewall and a malware scanner, has 5+ million active installations, and says free-version firewall and malware signature updates are delayed by 30 days compared with Premium (Wordfence).
Updates: what WordPress does on its own
The upgrade documentation says existing sites receive minor core updates, covering maintenance and security releases, by default. New installations on WordPress 5.6 or later get major updates by default as well. Plugins and themes update automatically only in special cases. Since WordPress 5.5 you can switch on plugin auto-updates from Plugins > Installed Plugins with the “Enable auto-updates” link (plugin documentation).
Two constants in wp-config.php change this behavior. WP_AUTO_UPDATE_CORE accepts true for all core updates, 'minor' for minor releases only, or false for none, and it overrides the setting on the Updates screen. AUTOMATIC_UPDATER_DISABLED switches off every kind of automatic update, which the upgrade documentation strongly discourages. If a site looks broken after an update, the same page suggests deactivating non-default plugins and reactivating them one at a time. As of November 2026 the WordPress.org download page lists version 7.1.5, and W3Techs shows 70.3% of WordPress sites on the version 7 branch.
Security hardening before launch
| Measure | Documented guidance |
|---|---|
| Disable dashboard file editing | define( 'DISALLOW_FILE_EDIT', true ); is “equivalent to removing the ‘edit_themes’, ‘edit_plugins’ and ‘edit_files’ capabilities of all users”; it “will not prevent an attacker from uploading malicious files to your site, but might stop some attacks” |
| File permissions | Directories 755 and files 644; all files owned by your user account |
wp-config.php | Can sit one directory above the install; only you and the web server should read it, generally 400 or 440 |
| Table prefix | Many published SQL-injection attacks assume the default wp_; changing it “can block at least some” of them |
| Updates and sources | Keep WordPress current; older versions “are not maintained with security updates”; take plugins and themes only from trusted sources |
| Backups | Back up files and databases regularly; keep an independent record of hashes or store copies on read-only media |
All entries come from the hardening guide. The table prefix is easiest to settle at install time, while you are editing wp-config.php.
Essential pages and launch-day steps
A small site needs a home page, an About page, a Contact page and a Privacy Policy page, which can start from the draft WordPress created. Add a Blog page and choose it as the Posts page only if you plan to publish articles.
On launch day, connect Google Search Console. Google’s sitemap documentation says a sitemap can help when “your site is new and has few external links to it”, though it “doesn’t guarantee that all the items in your sitemap will be crawled and indexed,” and that a small, well-linked site of about 500 pages or fewer may not need one. Our SEO for Beginners Guide covers the rest, and the Website Launch Checklist lists the final checks.
Key takeaways
- The one-click installer is the default choice; a manual install takes five documented steps and gives the same result.
- Check PHP 8.3+, MariaDB 10.11+ or MySQL 8.4+, and HTTPS before you buy hosting.
- Set Post name permalinks before publishing, and uncheck search-engine discouragement at launch.
- Keep plugins few, enable updates and store backups away from the server.
Sources
- WordPress.org: Requirements
- WordPress.org: Download
- WordPress Developer Resources: How to install WordPress
- WordPress Developer Resources: Hardening WordPress
- WordPress Developer Resources: Upgrading WordPress
- WordPress Developer Resources: Editing wp-config.php
- WordPress.org Documentation: Settings Permalinks screen
- WordPress.org Documentation: Settings Reading screen
- WordPress.org Documentation: Site Editor
- WordPress.org Documentation: Settings General screen
- WordPress Developer Resources: wp_install_defaults()
- WordPress.org Documentation: Manage Plugins
- Wordfence Security on WordPress.org
- W3Techs: WordPress usage statistics
- Google Search Central: URL structure
- Google Search Central: Sitemaps overview
- Hostinger: Installing WordPress and web hosting plans
- SiteGround: Install an application and web hosting plans