Create a Static Copy of WordPress Blog using Really Static Plugin and MAMP

Many bloggers are turning to static alternatives as a way to cut down hosting costs and simplify their setups. It’s actually possible to use WordPress to make a static site and it’s not as hard as you might think.

What is the difference between a static and dynamic website?

A dynamic website uses technology such as PHP, in the case of WordPress to build a website right when a user visits the page. A static site on the other hand, is much simpler and it’s just a collection of web pages that have already been compiled. Think of it this way when you visit a dynamic website homepage you actually sending a request to the server to piece together a bunch of different information. When you visit the homepage for static site you’re viewing the actual home page file. All the dynamic sites can do amazing things, this power comes at a cost. All that server power isn’t cheap and serving a dynamic site can be more expensive than the static one. When the dynamic blog starts to grow the server expenses will grow with it.
So if you are thinking of creating a static copy from WordPress then you’re in luck because it’s not that difficult!!

Getting Started

To proceed further, you are going to need come help which will be in the form of an application called MAMP. It’s actually just an easy to use wrapper on some popular web server tools that are required to run WordPress, these tools include Mac OS 10 the operating system Apache the web server, my sequel the database management system and PHP. Download it, although both MAMP and MAMP pro are going to be installed. We’re only going to need the standard and free map.

Download MAMP and MAMP Pro

Download MAMP and MAMP Pro

After downloading, launch MAMP.

Launch MAMP

Launch MAMP

Before you get your servers up and running, first go into the preferences and get the backbone of your operation running smoothly.
MAMP Preferences

MAMP Preferences

Head over to the PHP tab to make sure version 5.5 is selected, this is because recent versions of WordPress require it.
PHP Tab

PHP Tab

Next under the Apache tab, you will be asked to set the document root. By default, this is the htdocs folder within MAMP. You can change it to something a bit more friendly and press OK and you’ll be back in the main MAMP interface.
Apache Tab

Apache Tab

let’s get things rolling by starting the servers. Once your servers are running properly you will see the green lights next to the Apache server and MYSQLserver turned green. In addition, will now see the option to open the Start Page is now enabled.
Once at the start page, scroll down to MSQL and click the link to PHPmyadmin. We know that MYSQL is the database management software utilized by WordPress, you will see they will be able to take care of administering those databases with the handy PHPmyadmin program.
PHPmyadmin

PHPmyadmin

While handy PHPmyadmin can still be pretty intimidating, we’re going to create a database
and get out. To do that, click on databases and name it WordPress since that’s a pretty safe bet. There’s no need for you to choose an option for collation as it will automatically be assigned by MYSQL when the database tables are created during the WordPress Install. Next just click Create and as you can see your database has been created.
Create a Database

Create a Database

Really Static Plugin

Now you can get out from the PHPmyadmin and install Really Static Plugin into your WordPress site. This plugin will generate static HTML files whenever you make a change to our blog. After activating the plugin go to the quick setup where you can either choose to run the plugin in test mode or in live mode. If you wanna mess around with different settings or themes, it’s best to do so on the test mode.

Really Static QuickStart

Really Static QuickStart

Set your storage location.
Set your Storage location

Set your Storage location

Here you can see that Really Static is verifying to make sure can read, write and delete files. If you follow the previous steps carefully these three boxes should all be green.
Checking writing writes

Checking writing writes

When confirmed, press next once more and hit start generating files.
Generating Files

Generating Files

View final static site

View final static site

Now let’s finish generating you can view our final static site. Everything will be in place and look great!! If you head back to your dynamic WordPress Install you can see that everything looks virtually identical.

Christine

Christine

Author at onlineshouter
Christine writes for people who seek for knowledge about SEO, blogging, online marketing, gadgets and web apps.
Christine

Leave a Reply

Your email address will not be published.