If you are planning to edit/create your own wordpress theme, XAMPP will be a best option to test it. Although creating WP themes using Artisteer is too easy and editing existing themes using ThemeDreamer is very simple. But how would they look in various browser is important. And at this point you need some platform where you can run wordpress.
Xampp will let you test your wordpress blog or any other PHP, JSP etc site locally. This tutorial will tell you about how to configure xampp and about how to configure wordpress on xampp.
- Download xampp lite. It is free, smaller in size & direct run.
- Extract it to C drive. Now you will have a folder on C drive with name XAMPPLITE.
- Open setup_xampp.bat resides in XAMPPLITE folder.
- Once you get success message, open “xampp-control.exe”
- Start Apache & MySql from the opened window.
- To check whether XAMPP is working fine. Open following link in any Internet browser.
http://localhost/xampp/splash.php or http://localhost/xampp/
- Download wordpress. It is also smaller in size & free to use.
- Extract it to C:/XAMPPLITE/HTDOCS
- Open http://localhost/xampp/splash.php in any internet browser. Click on phpMyAdmin (under Tools in left sidebar).
- You will get a window given in below image. Copy the text exact which is marked in red in below image & click on CREATE button. This is the database name which will be used by wordpress. You are free to give your desirable name.
- Open wordpress directory (C:/XAMPPLITE/HTDOCS/WORDPRESS/).
- Rename wp-config-sample.php to wp-config.php. And Open this file.
- You will find following code in starting of the file.
/** The name of the database for WordPress */ define('DB_NAME', 'putyourdbnamehere'); /** MySQL database username */ define('DB_USER', 'usernamehere'); /** MySQL database password */ define('DB_PASSWORD', 'yourpasswordhere'); /** MySQL hostname */ define('DB_HOST', 'localhost');
Replace the above code with below code.
/** The name of the database for WordPress */ define('DB_NAME', 'wordpress'); /** MySQL database username */ define('DB_USER', 'root'); /** MySQL database password */ define('DB_PASSWORD', ''); /** MySQL hostname */ define('DB_HOST', 'localhost');
http://localhost/wordpress/wp-admin/install.php or http://localhost/wordpress/wp-admin/.
This is one time process to setup your blog. This will provide you id & password that you can change after login. Note it down somewhere because it’ll not display it again and you can not. Use the same above link to login to dashboard (like a control panel of your blog).
To run your blog type http://localhost/wordpress/ in any internet browser like epic.
Finally, your local server is ready to run your blog. Now the turn is to install some themes and plug-ins. You may also need some sample posts if you want to save your time while testing.
You can try my plug-in initially. It’ll give you more options to test. Read other articles over wordpress. And remember to make a user locally to complete your testing.
If you had published your site and want to test its appearance on various browsers and platform the browsershots can help you.
Please leave your feed backs, suggestions and ideas for another easy setup of any blog.