Step-by-Step How to Install WordPress (2 Methods)

0


The way to install WordPress boils down to two main options:

  • Following a 1-click installation from a reputable web hosting provider like Hostinger
  • Going for a manual WordPress setup
  • Here’s an extensive guide to implementing both approaches the right way.

    Best Method: Using a Good Web Host

    If you sign up with a trusted web hosting provider, they all feature quick and easy 1-click WordPress installs, with the installation itself taking between 10-15 minutes (including registration). We’ve picked Hostinger to demonstrate the process of a 1-click WordPress installation, but the underlying steps should be similar to those of other web hosting providers.

    Requirements before installing WordPress with Hostinger

    There are two main requirements you must meet before installing WordPress as the preferred CMS to manage your site.

    Web hosting provider

    WordPress is an open-source and free content management system (CMS). However, it still requires either third-party web hosting (like Hostinger) or self-hosting (hosting your WordPress site on a personal server) to store your site’s files so users can access them on the internet. In this guide, we’ll consider the third-party hosting method using Hostinger as an example.

    For best performance, Hostinger recommends signing up for a hosting provider that supports the following programming languages and online database systems:

    • PHP version 7.4 and above
    • MySQL version 5.7 and above or MariaDB version 10.4 and above
    • HTTPS support

    Domain name

    A domain name is a unique text identifier that lets people find and visit your site once it goes live. It’s the online equivalent of a real-world house address. You can buy a new domain name via a domain registrar such as GoDaddy, Namecheap, or Cloudflare, or get one for free or at a large discount bundled together with your hosting plan from Hostinger.

    For this example, we’ll be using one of Hostinger’s managed web hosting plans, which includes a heavily discounted one-year domain registration (85% off) plus a WHOIS privacy protection to safekeep your personal information against unwarranted attacks.

    Step-by-step breakdown of how to install WordPress

    With Hostinger, there are two methods to install WordPress:

    • Using Hostinger’s WordPress onboarding flow
    • Using a 1-click WordPress install through Hostinger’s hPanel dashboard

    Here’s a detailed breakdown of both WordPress installation processes.

    How to install WordPress with Hostinger’s WordPress onboarding flow

    1. Go to Hostinger.com, click WordPress in the top left-hand side, and choose Hosting for WordPress from the drop-down menu. Then, click Start now in the bottom left corner.

    Hostinger website for WordPress hosting with a red box and arrow pointing to

    2. Choose your preferred hosting plan. We’ve chosen the premium plan as an example, but you can choose either one depending on your site’s present and future needs. Then, click Choose plan.

    Hostinger plan options with red arrow pointing to premium plan.

    3. Choose the hosting period (1 month, 12 months, 24 months, or 48 months), enter your preferred domain name, choose the domain registration period (1 year, 2 years, or 3 years), and click Continue.

    Hostinger shopping cart with 4 steps shown in red to continue with purchase.

    4. Create your Hostinger account. We’ll be using our Gmail account to expedite the registration process.

    Create Hostinger account using Gmail account.

    5. Choose your Gmail account and click Continue.

    Google sign in page to continue with Hostinger account creation.

    6. Enter your billing address and click Continue.

    Hostinger billing address form with red arrow pointing to continue button.

    7. Choose your preferred payment method, enter your payment information, and click Submit Payment.

    Hostinger submit payment form with red arrow pointing to

    8. Choose a WordPress admin email and password, and click Next.

    Option to choose a WordPress admin email and password with Hostinger.

    9. Select a WordPress theme, or click Build from scratch. Both options work just as well, but we’re going to opt for the Build from scratch option to start with a clean slate.

    WordPress template options offered by Hostinger.

    10. Select the default WordPress theme (Twenty Twenty-Three), and click Next.

    Hostinger build from scratch options showing the default WordPress theme (Twenty Twenty-Five).

    11. Select your favorite WordPress plugins, and click Next.

    WordPress plugin options offered by Hostinger.

    12. Select your domain, and click Next. If you don’t have a registered domain, you can also use a temporary domain to set up your site before it goes live.

    Form to select domain name with Hostinger.

    13. Select your primary information, and click Next step.

    Registration form for primary domain information with Hostinger.

    14. Enter your contact details again, and click Finish registration. Make sure there are no typos or incorrect information since a failed domain verification process can lead to a suspension of your domain.

    Hostinger contact details form with button to finish registration.

    15. Select your target audience location and click Next.

    Hostinger dropdown to select target audience location.

    16. That’s it! Your website should be live in up to 24 hours.

    WordPress connect a domain page.
    WordPress

    How to 1-click install WordPress with Hostinger’s hPanel dashboard

    1. Go to Hostinger.com and log in to your account. If you don’t have an account, create one and purchase a new domain and hosting plan.

    Hostinger log in page.

    2. [Optional] Hostinger is both a registrar where you can purchase a new domain and a hosting provider where you can host your website. 

    You can also host an existing domain purchased from a different registrar on Hostinger, but you have to connect Hostinger’s DNS/nameservers to that registrar. To find Hostinger’s nameservers, go to Websites, Websites List, and click Dashboard on the right-hand side.

    Hostinger's Website Lists page.

    3. [Optional] From here, go to Hosting Plan, Plan Details. You should see Hostinger’s nameservers on the right-hand side.

    Hostinger plan details page showing nameservers.

    4. [Optional] You can also host a domain purchased on Hostinger on a different web hosting platform. To do this, go to Domains, Domain Portfolio, then click your domain under Domain name on the right-hand side.

    Hostinger domain portfolio page with option to renew domain.

    This area lets you edit your Hostinger nameservers to point to a different hosting provider or to connect your Hostinger account with a domain purchased from a different registrar such as Namecheap or GoDaddy.

    Domain overview page from Hostinger with arrow pointing to nameservers.

    If both your domain and web hosting are on Hostinger, skip steps 2, 3, and 4. Otherwise, go to your registrar’s settings and enter Hostinger’s nameservers in place of that registrar’s default nameservers. It can take up to 48 hours for the change to take place.

    5. Once you’re logged in, make sure you’re in the Home area of hPanel. Then, click your domain from the Hosting card on the right-hand side.

    Home page of hPanel with red arrow pointing to domain.

    6. Navigate to Website, Auto Installer, and select the WordPress 1-click installation by clicking Select.

    Auto installer page to install WordPress.

    7. Enter your website credentials, including your preferred site title, email address, username, and password for later access to the WordPress dashboard. Click Next.

    Website credentials form to install WordPress.

    8. Select your website preferences, including WordPress version, website language, and update schedule. Hostinger recommends updating only to a minor WordPress version by default. Click Install.

    Website preference selections to install WordPress.

    9. Once completed, your installed WordPress website will appear under Installed Applications in the Website, Auto Installer area. Click on the three dots at the right of your WordPress URL and select Manage to open the hosting dashboard area.

    Option to manage applications within Hosinger auto installer page.

    10. Click WordPress Admin to access your new site’s WordPress administrator dashboard.

    WordPress Admin button on the Hosinger overview page.

    Congratulations, your new Hostinger-hosted WordPress site should be live in up to 24 hours!

    Get found on Google setup page from WordPress.

    Second Method: Install WordPress Manually

    Finally, you can install WordPress manually. In this demonstration, we’ve opted to use Hostinger’s services, including their hPanel file manager and web hosting plan to upload WordPress to our example site.

    Your steps may differ if you’re using a different hosting provider, registrar, and FTP client, but the general installation methodology remains the same.

    Requirements before installing WordPress manually

    There are several requirements you must meet before installing WordPress manually.

    Hosting plan

    If you want your website to go live shortly after installing WordPress, you’ll need to purchase a hosting plan to store your site’s files and data. For this demonstration, we’re going to use Hostinger’s premium hosting plan.

    Additionally, you can also install WordPress locally on your computer to test themes, plugins, and designs without interfering with the live website, or host your site on a local server.

    Domain name

    Hostinger makes it easy to register a new domain name while picking your preferred hosting plan. We’re going to use our example domain name (crazyeggexample.xyz) that we’ve also purchased from Hostinger.

    If your domain exists on a different registrar, you’ll need to change its nameservers to point to your hosting provider. Here’s how to do that in Namecheap and GoDaddy.

    WordPress installation tools

    You’ll also need additional tools to ensure a seamless manual installation, including:

    • The latest WordPress package from WordPress.org
    • An FTP client or a file manager to upload WordPress core files to the server
    • A code editor to edit WordPress core files such as BBEdit or VS Code

    How to install WordPress manually

    1. Go to WordPress.org, click Get WordPress, then click Download WordPress to get the latest version.

    Install WordPress screen with arrow pointing to download button.

    2. Log in to your Hostinger account, go to hPanel, then navigate to Files and click File Manager.

    Hostinger file manager page.

    3. Open the public_html folder and use drag and drop to upload the WordPress ZIP file.

    Public_html folder with extract option shown.

    4. Name your folder and click Extract.

    Extract menu shown in Hostinger file manager.

    5. [Pptional] To upload files to your web server using an FTP client, download and extract the WordPress package on your local drive.

    Note: This is an alternative method of uploading WordPress to your web hosting provider. If you’ve already completed uploading and extracting your WordPress package through Hostinger’s file manager in hPanel, skip steps 5, 6, and 7.

    Downloads list showing wordpress file.

    6. [Optional] From hPanel, go to Files, FTP Accounts. Enter a new username and password to create a new FTP account and click Create.

    FTP accounts shown in the hPanel.

    7. [Optional] Launch an FTP client (we’re using FileZilla) and connect to your FTP server using your web hosting provider’s details. Go to Files, FTP Accounts to get Hostinger’s FTP details.

    Enter your web credentials in FileZilla and click Quickconnect to connect to your web host.

    Enter the location of your extracted WordPress directory next to Local site.

    Drag and drop your WordPress files or folders from left to right to upload them to your web host.

    FTP client shown with the quickconnect option highlighted.

    8. It’s time to create a MySQL database and database user. A database is an essential part of all websites, allowing webmasters to safely store user data, site settings, and new content such as articles and pages.

    Navigate to Databases, Management in hPanel.

    Enter your new database name, MySQL username, and password.

    Click Create to create your new MySQL database and save your credentials for later use.

    Database mangement in hPanel of Hostinger.

    9. It’s time to connect your database credentials to wp-config.php, a core WordPress file that contains essential information about your site.

    Access your site’s root directory via Hostinger’s file manager or with an FTP client like FileZilla.

    Locate the wp-config-sample.php file and right click it to rename it to wp-config.php.

    Rename file menu in Hostinger hPanel.

    10. Right click the renamed wp-config.php file and click Edit. Locate the code snippet that contains DB_NAME, DB_USER, and DB_PASSWORD.

    Code snippet for wp-config.php.

    11. Replace the database_name_here, username_here, and password_here fields with your newly created MySQL credentials. Click the Save icon in the top right-hand corner.

    Code snippet for wp-config.php showing crazy egg.

    12. Once all requirements are done, you are finally ready to start your manual WordPress installation.

    Open an empty browser window and enter your_domain.tld/wp-admin/install.php or your_domain.tld/subdirectory_name/wp-admin/install.php in the URL address bar.

    Click in the URL address bar and press Enter.

    Choose your language and click Continue.

    WordPress language selection menu.

    13. Enter your site title, and set your username, password, and email account. Don’t check the box next to Search engine visibility, since there’s no reason to prevent search engines and people from discovering and visiting your website. Save your site credentials for later.

    WordPress welcome form with arrow pointing to install button.

    14. Click Log in to access your site’s WordPress dashboard.

    WordPress login success screen.

    15. Enter your credentials and click Log in.

    WordPress log in screen with credentials filled in.

    16. That’s it! You’ve successfully managed to perform a manual WordPress installation.

    WordPress welcome page.



    Source link

    [wp-stealth-ads rows="2" mobile-rows="2"]
    You might also like