Creating an offline blog sandbox
Post to answer repeated requests from a friend
What is a sandbox? In computing, this term can be described as:
a testing (or virtual) environment that isolates untested code changes and outright experimentation from the production environment [Wikipedia]
In our context, this would mean an environment in which we would play around by tweaking themes, modifying code, adjusting css, etc… and view the results, without having to break our *live* online site, plus nobody will see when strange mistakes occur in our code! Afterwards, the completed code/theme/css can be uploaded to the site. Why make it offline? It is much faster as no ftp is required.
Creating the Sandbox
Now, the first step you need to take is to install an Apache server on your windows PC. Okay, i will say this only once, this is NOT as complicated as you might be thinking it is, i would even say it is freaking too easy! and the is how you do it:
- download Xampp.
- Extract the zip package (Or the exe self extracting archive, depending of which you have downloaded) to the root directory of your hard drive (giving something like C:/xampp
- when extraction is over, double click on the Xampplite folder. the folder will contain these files among others:

- now open “setup_xampp.bat”
- after the success message open “xampp-control.exe” and click the indicated buttons to start Apache and mysql, thus getting Xampp working the way we need it to.
- Now go download wordpress
- Okay, now extract the zip archive to c:/xampp/htdocs, (or c:/xampplite/htdocs, depending on what version you downloaded.) thus obtaining a directory
c:/xampp/htdocs/wordpress
OR
c:/xampplite/htdocs/wordpress
(Again depending on the version you have downloaded.)
- Okiie, okay till now? right, almost over. now in the wordpress directory, rename wp-config-sample.php into wp-config.php, open it, and edit it so that it looks like:
- Okay, now is when it starts to become interesting. launch yout browser to
http://localhost/
And choose a language you understand.
- Click on phpmyadmin in the tools section of the sidebar
- in the Create new database field, type wordpress, and set the combo box (list) to utf 8 unicode (normally last in the list) and click create.
- Now it definitely gets familiar. go to
http://localhost/wordpress/wp-admin/install.php
(Note, the light version is fine if you are only installing wordpress.) I vould recommend you to download the exe self extracting archive

// ** MySQL settings ** //
define('DB_NAME', 'wordpress'); // The name of the database
define('DB_USER', 'root'); // Your MySQL username
define('DB_PASSWORD', ''); // ...and password
define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
And save the file. (the code below needs not be changed.)
And follow the instructions.
Finished!! then your local blog address is
http://localhost/wordpress
Tadaa! its done!

Okies, thanks for the feedback! well it was probably because skype blocked the port when it is active
Anyway thanks for your visit and comment, and do not hesitate if you need some more help! 
June 5th, 2007 at 4:47 pmHere via blogosquare … thanks for this. Only issue I had was that I had to disable Skype to get this to work, but once I’d done that, it worked a treat
June 5th, 2007 at 4:00 pm[…] Or you could simply just create an offline blog where you can play on your computer without putting it live on the net. Check out kyu’s quick guide on creating an offline blog. […]
June 5th, 2007 at 2:31 pm[…] Thus, when trying to implement my Blog Sandbox technique into ubuntu, i found i couldnt work at all for any modification would require me entering the sudo command followed by my instructions. granted, it works and is kind of safe but wouldnt it be nice to get full write/edit ability in the gui itself? perso i prefer New folder->cut->paste to sudo mkdir etc… So here is how to gain root access in UBUNTU. […]
February 3rd, 2007 at 1:50 pmyo man, I tried it. It’s a marvel, a jewel, a I don’t know what word to describe it…it’s too great man :agree: thanks for this :sly: yeah……
fu*king sh*t that’s tooooooooooooo goood….better than s*x who knows????????????
January 21st, 2007 at 5:35 pmYo hans.
Question: how dya know the post is good if you havent read it?
:bleh: 

January 16th, 2007 at 3:38 pmHappy to see you again
hey kyu pour le comments, t’as oublier d’inclure l’heure a laquelle le comments a ete poster mane :sly:
January 15th, 2007 at 10:47 pmhey y a un concour pour le moment, fais en un tour quand t’as le temps
check li >>> car le deadline c’est le 20 Janvier
January 15th, 2007 at 10:46 pmhey yo kyu franchement c tro bon c poste….je l’ai pas encore lu mais j’y vais le faire pour de sur…pour mwa c encore les vacances la :sweat: je traine chez mon couz de rose-hill pour le moment…
j’espere que la rentree s’est bien deroule apres
apart les incovenient que t’as eu le premier jour meme
hey mane keep up the good job….
January 15th, 2007 at 10:44 pm