Module Overview
This lesson guides learners through installing WordPress both on a local computer for testing/development and on a live web server for a public website. Understanding both methods helps users safely build, test, and launch websites.
Learning Objectives
By the end of this lesson, learners will be able to:
-
Explain the difference between local and live WordPress installations
-
Install WordPress locally using tools like XAMPP, MAMP, or Local by Flywheel
-
Install WordPress on a live hosting server
-
Configure basic WordPress settings post-installation
-
Avoid common installation errors
Lesson 1: Local WordPress Installation
A local WordPress installation is when you set up and run a WordPress website on your own computer instead of on a live web server. This allows you to build, design, and test a website in a private environment before making it public. Local installations are commonly used for development, experimentation, or learning purposes. Tools like XAMPP, MAMP, or Local by Flywheel create a local server environment on your computer, enabling WordPress to function just like it would on a live site, but without needing a domain or hosting.
Purpose: Test and develop a website offline without affecting a live site.
Tools Required
-
XAMPP (Windows, Mac, Linux)
-
MAMP (Mac, Windows)
-
Local by Flywheel (Windows, Mac)
Steps
-
Download and install your chosen local server tool.
-
Start the server and create a new local database.
-
Download the latest WordPress version from wordpress.org.
-
Extract WordPress files into the local server’s root folder (e.g., htdocs for XAMPP).
-
Open the local URL in a browser and follow the WordPress setup wizard.
-
Enter database credentials, create admin user, and complete installation.
Benefits of Local Installation
-
Safe testing environment
-
Experiment with themes/plugins without affecting live site
-
Faster development and troubleshooting
Lesson 2: Live WordPress Installation
Purpose: Publish your website online for public access.
Steps
-
Choose a hosting provider with WordPress support.
-
Access the hosting control panel (cPanel) and create a new database.
-
Use one of these methods:
-
One-Click Installer: Many hosts provide automatic WordPress installation (e.g., Softaculous).
-
Manual Installation: Upload WordPress files via FTP, configure wp-config.php, run the setup wizard.
-
-
Complete setup by creating an admin user and password.
-
Access your live site at your domain to verify installation.
Benefits of Live Installation
-
Site is accessible to users worldwide
-
Allows testing of live features like payments, forms, and SEO
-
Ready for content and publishing
Lesson 3: Post-Installation Configuration
-
Change site title, tagline, and timezone
-
Set permalinks for SEO-friendly URLs
-
Install a security plugin and SSL certificate
-
Create an admin user with strong password
-
Install essential plugins (SEO, caching, backups)
Lesson 4: Common Installation Errors & Troubleshooting
-
Database connection errors → check database name, username, password
-
Blank screen → plugin/theme conflict, increase PHP memory limit
-
Permission errors → adjust file/folder permissions
-
Local site not loading → start server properly, check ports
Practical Activity
-
Explore the dashboard, install a theme, and add a sample page…
Key Takeaways
-
Local installation is great for testing and learning.
-
Live installation makes your site publicly accessible.
-
Proper post-installation setup ensures security and functionality.
-
Understanding installation basics allows safe experimentation and development.
