Most small tweaks to a blog can be done on the fly, but sometimes more drastic changes are called for. If you figure nothing will go wrong, and you can get the site back online in a short period of time, it’s usually easier to just throw up a splash page with Maintenance Mode. However, if it looks like it is going to be a while, you may want to consider playing on an offline version of your site. Although creating an offline version of your site requires some start-up effort, there are two very good reasons to put in that effort:
The variable time cost will decrease greatly, since there are no files to upload.
You can’t do lasting damage to your blog, since you are just working on a copy saved to your computer.
XAMPP
The first thing you will need to do is get XAMPP Lite. This basically runs a server on your computer, and the Lite version is very simple to set up. Installation is easy with the installer, and here are the general things you will need to know:
In the XAMPP control panel, you want to click Start for both Apache and MySql.
Browse to your main drive and find the Xampplite folder. There will be a subfolder called htdocs that you can copy your Wordpress folder into. It may be worth making a shortcut on your desktop pointing to this folder.
If you drop your files in a subfolder called wordpress in the htdocs folder, then you can browse the local version of your webpage by typing either http://localhost/wordpress or http://127.0.0.1/wordpress in your browser’s location bar.
To enable rewrites for stuff like permalinks, you will need to find the httpd.conf file (Xampplite/apache/Conf) and open the file in a text editor. About line 166 you will find: #LoadModule rewrite_module modules/mod_rewrite.so and you can turn rewrites on by removing the # at the beginning.
Wordpress and Your Database
If you are mostly working on design, it may not be worth going through the effort of importing real data. When I did the last redesign, I just did some copy-paste magic on a handful of old posts in order to see how the site would look. Whichever path you decide to take, there are very good tutorials in the Wordpress Codex. There are also tutorials (with screenshots) for connecting XAMPP to your database here and here.
Download the latest version of Wordpress, and unzip the files into the the subfolder you created in htdocs. Once your database is set up, you can install Wordpress by browsing to http://localhost/wordpress/wp-admin/install.php (if you installed the files in a subfolder named wordpress). You can download and install all your favorite themes and plugins.
With your offline site all set up, you can play with all the site files without worrying about doing irreversible damage. Even better, your readers won’t realize that you are making changes behind the scenes, so when you’re done experimenting you can surprise everyone with an impressive and effortless update.
Experiment On Your Blog Without Destroying It
XAMPP
The first thing you will need to do is get XAMPP Lite. This basically runs a server on your computer, and the Lite version is very simple to set up. Installation is easy with the installer, and here are the general things you will need to know:
#LoadModule rewrite_module modules/mod_rewrite.soand you can turn rewrites on by removing the#at the beginning.Wordpress and Your Database
Download the latest version of Wordpress, and unzip the files into the the subfolder you created in htdocs. Once your database is set up, you can install Wordpress by browsing to http://localhost/wordpress/wp-admin/install.php (if you installed the files in a subfolder named wordpress). You can download and install all your favorite themes and plugins.
With your offline site all set up, you can play with all the site files without worrying about doing irreversible damage. Even better, your readers won’t realize that you are making changes behind the scenes, so when you’re done experimenting you can surprise everyone with an impressive and effortless update.
Related posts: