
You must have been there at least once. Installing a new plugin or trying a new cool tweak on your theme, and when you save and anxiously go to view your site you find out that it’s become unreadable in some way.
It may take five minutes or it can take an hour to return your blog to its previous state, either way, if you have an established blog that’s getting traffic, quite a few readers will going to raise an eyebrow at your slip. If there were a newcomer at this time, he would probably just browse through without missing a beat.
Locally testing your tweaks, plugins and new design ideas could save you from all that. It is quite simple to do but can be intimidating for the beginner.
It is simple, just follow me…
Download and install a web-server on your computer. A web-server will enable you to run web-sites hosted on your machine instead of the hosting provider.
I’m using the free and user friendly WampServer that you can download here:
http://www.wampserver.com/en/download.php
Follow through the installation wizard without any customizations, which is enough for our purpose, and you should not run into any problems.
Choose to run WampServer on completion of the installation.
Left click on the WampServer tray icon
Click on phpMyAdmin
In the ‘Create new database’ field insert the name for your database (e.g.: myblog)
Click Create
Close the browser window without creating any tables
Download the latest WordPress package from here: http://wordpress.org/download/
Open the contents of the wordpress folder in the archive to a directory of your choice (e.g.: myblog.com) that you will create in the \www directory of the WampServer installation. (c:\wamp\www\myblog.com)
inside your myblog.com directory there is a wp-config-sample.php
rename it to wp-config.php
open it in your text editor
change the putyourdbnamehere in DB_NAME to your database name (myblog)
change the usernamehere in DB_USER to your username (root)
change the yourpasswordhere DB_PASSWORD to nothing (”)
leave everything else as it is
Save
Open your web browser and go to: http://localhost/myblog.com/wp-admin/install.php
Enter whatever you want in the blog title and e-mail
Click Istall WordPress
After the installation has competed note the username and password to login in to WordPress
If you try to go to http://localhost/myblog.com you’d hit your local version of your “naked” blog. But, continue to the next step to dress it in your theme and plugins.
Use your FTP client to copy the wp-content/plugins to your local location (c:\wamp\www\myblog.com\wp-content\plugins)
Copy your theme from the /wp-content/themes/ to the the local \wp-content\themes the same way.
Go to http://localhost/myblog.com/wp-admin
Enter your username and password and you’ll find yourself in the familiar backend of WordPress. Ahhh…
Activate your plugins
Switch to your theme
That’s it.
Now you have your local blog operational. The perfect testing grounds. Test your genius locally first, and then, when everything works, go live!
- Alex
Technorati Tags: tweaking, local machine, wamp, wordpress, theme
adsense advertising adwords affiliate affiliate challenge affiliate marketing article blog blogging business comment domain entrecard entrepreneur free ebook godaddy google google analytics guru hosting hostmonster internet marketing link making making money making money online money money online online ppc ppc coach PPC Marketing prizes problogger program property published readers registrar rss seo sitehoppin traffic visitors wordpress
WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.
Great guide! I do all this, but I use another free webserver: Appserv. You can install it very easy, and it contains Apache, MySql and PHPMyAdmin.
Diana13’s last blog post..Easy Money On Net?
always having some unused domain name lying around, I just take advantage of it by installing wordpress and use it as my personal sandbox
Mirjam’s last blog post..17 Plugins to Make your Blogging Life Easier
Mirjam,
The problem I encountered using your method is that my “sandbox” got indexed by Google before I even had the chance to clean-up, withing hours…
I wouldn’t want my test ideas to be out there, you know?
*scratching her chin in a pensative mood*
got your worries, but …
google indexing an unused domain, within hours, without having been pinged nor notified nor followed links nor nothing…. wow… did that happen to you?
Mirjam’s last blog post..17 Plugins to Make your Blogging Life Easier
Scratch your chin all you want, Mirjam.
When I was starting this blog, all I had was the domain and the wordpress I installed on HostMonster. No sitemap, no Google webmaster tools, nothing.
Next thing I knew, I found the crappy default “Hello World” post on Google for net-entrepreneur… And it was on the same or the next day!
(I feel like an old seaman telling storm-stories at the local pub)