WordPress is CMS platform that usually installed on a self-hosted web hosting ‘online’ on the internet. But did you know? that you can learn how to use wordpress.org offline! on your computer locally.
Yeah you can learn with software called MAMP, WAMP, LAMP etc. These software allows you to create a local server on your personal computer , and the function is the same as it on the web server. And the interesting stuff is, you can do this while your computer is offline. Of course you have to connect to internet in order to download this app before use it offline.
MAMP software is for Mac, however it also Available for Windows. WAMP is for Windows only, LAMP is for Linux and SAMP is for Solaris. All these softwares work as the same for this purpose.
These software is very useful for beginners who want to learn how to use the basic function of CMS platform like WordPress. Especially before you ready to purchase a domain and web hosting to build website online.
It’s also useful for web designer and web developer as well, who working with software like e.g Adobe Dream Weaver. Before launch the final design online.
In this post I prefer to use MAMP on macOS to demonstrate how to learn WordPress offline on your computer local server. As I mention above no matter you running Mac OS, Windows or Linux, the method is “almost the same.”
For Windows user you can read post how to Learn WordPress In Windows Localhost Using WAMP Server
So! before we start it, you need to download The Software and download WordPress.
- For Mac/Windows you can download MAMP HERE
- For Windows only download WAMP HERE
- For Linux download Bitamy LAMP HERE (for linux user please read ‘README’ text how to install it)
- To download WordPress you can go to WordPress.org.
When you finish downloading .. we can start to work whit it!
Install and setting MAMP
Double click to install the software, when finish open it and go to MAMP > Preferences > Port make sure to set Apache Port to 80, Nginx Port to 80 and MySQL to 3306 see picture below.
Go to MAMP > Preferences > PHP choose newest version and better to set Cache to off see picture below.
Then go to MAMP > Preferences > Web server set it to Apache.
For Start/Stop Preferences let it by default or you can customize as you wish. Click OK to apply the settings.
Start MAMP server and create a database in phpMyAdmin
Click on Start Server button to start Localhost/MAMP server. It will automatically open MAMP Web start page on your default browser. Then find for phpMyAdmin link and click it to open phpMyAdmin page.
In phpMyAdmin go to Database tab and create a new database you can name it anything you want e.g ‘blogtest’ then hit create button see pic below.
A confirmation message that you have succeed create a new database will show up. And you are now ready for install install WordPress.
Before we do anything with WordPress we need to create a folder in Application > MAMP > htdocs, and name it exact the same like the Database that we have create.In this case the name is e.g ‘blogtest’.
After that, go to download folder find for WordPress.zip you have download and extract it. Copy the WordPress folder and paste it inside ‘blogtest’ folder in Application > MAMP > htdocs > blogtest.
I hope you don’t get confused and still with me 😅
Okay! Go back to Safari/browser and type this address localhost/blogtest/wordpress on your browser bar. It will open this page 👇 after you select language for WordPress.
You may need to read the welcome message, when done click on “Let’s go!” button. It will bring you to the next page. You will be ask for entering your database connection details. Just fill the form like example picture below. Important! name the Database Name exactly the same with the name of your database you have create before, in this case ‘blogtest.’
Click submit when done, and you will got this message in the next page, and ready to Run the install.
Set your wordpress site name (e.g Blog Test), set your user name (unique name), set password and email.
Because it’s an exercise it’s better to check Discourage search engines from indexing this site in Search Engine Visibility option.
When you done, click on Install WordPress, it will take you to your new site Log in page.
Log in with your User name/email address and password you have set before, and You are done!
Note! to access log in page later just type e.g localhost/blogtest/wordpress/wp-admin this address is according to this guid example so if your database name is e.g ‘myblog’ then the address should look like this: localhost/myblog/wordpress/wp-admin
Start exercising to use WordPress site
You now can exercise how to using WordPress no matter your computer is offline or connected to internet.
You can start with learning how to Customize your WordPress site by follow the instruction of WordPress welcome message in Admin Panel or by navigate your cursor to Appearance > Customize in left panel.
Exercise to write a post and delete sample post, create pages, adding a widgets to sidebar and see how your site look etc.
Basically WordPress is easy to use and I am sure that you will learn fast how to use it. And when you know how to use it, now you can make a plan to build your own website/blog online. Here, you can read post about Recipe For Creating Successful Blog [Case Study]
Okay! thats it. Happy blogging! Cheers!