Skip to content
+91 89607 57615
Code Craft — web development and digital marketing
Lesson 222 minFree lesson

Installing WordPress the right way

Install on hosting or run it locally with WordPress Playground, then fix the settings everyone forgets.

Taught by Sandesh Sahetiya

Chapters

Narrated with a synthetic Indian English voice from a script written by the instructor. Every screen is a real WordPress and WooCommerce site running the course's tested code.

In this lesson you will

  • Install WordPress with your host's installer
  • Run a practice site locally with WordPress Playground
  • Set the site title, time zone and permalinks
  • Remove sample content

On your hosting account

Most hosts install WordPress for you. In hPanel (Hostinger), cPanel or Plesk, look for a WordPress or auto-installer option, choose your domain, and set an admin username, a strong password and your email. The installer creates the database for you.

Locally, with WordPress Playground

To practise without hosting, use WordPress Playground. It runs a real WordPress in your browser at playground.wordpress.net, or on your computer with Node.js. This course's videos use it.

Starts a local WordPress at http://127.0.0.1:9400 and signs you in
npx @wp-playground/cli@latest server --login

Playground sites are for learning and testing. Unless you save or export them, changes disappear when you stop it.

Settings to fix on day one

  1. 1
    Settings › GeneralSite title and tagline, your email, and the time zone. For India, choose Kolkata so dates, sales and the bakery's opening hours are right.
  2. 2
    Settings › PermalinksChoose 'Post name' for readable addresses like /product/carrot-cake/ instead of ?p=123. Do this before publishing, because changing it later changes your URLs.
  3. 3
    Settings › ReadingChoose whether the front page shows your latest posts or a static page. A business site usually uses a static Home page.
  4. 4
    Remove sample contentDelete the 'Hello world!' post and the 'Sample Page' that every new install includes.
Exercise

Set up a practice site

  1. Start a site at playground.wordpress.net or with the command above.
  2. Set the title, time zone and Post name permalinks.
  3. Delete the sample post and page, and create a Home page.
Lesson PDF