• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » How to install WordPress on Windows 7 to test themes and plugins offline

By Abhishek Ghosh March 2, 2011 4:09 pm Updated on March 2, 2011

How to install WordPress on Windows 7 to test themes and plugins offline

Advertisement

Testing a new theme or plugin for developing them or just for normal usage in server is risky. Just imagine the risk when we try a new plugin or modify the theme’s CSS file : there are always many visitors are surfing the website; it happens the plugin or the modification in CSS file was not done rightly and, as the WordPress guy says “sky will fall on your head” : it really happens. We upgraded to WordPress 3.1 without thinking, unfortunately, it has some compatibility issues (which is rare for WordPress) with older plugins. The total website was a mess for few hours.

 

Here are the steps to install WordPress on Windows 7 locally on the hard disk, so that you can test themes and plugins offfline. Follow each and every step very religiously so that you can say “Code is poetry”.

 

Download the light version of XAMPP (known as XAMPPlite). Download the exe file. It is around 63.5 mb. Now, double click the installer file to install. Keep everything at default settings, do not change anything :

Advertisement

---

 

How to install WordPress on Windows 7 to test themes and plugins offline

 

 

It will take around 15 minutes to get installed. From Start menu, click to start xampp control panel (or else, Go to the install folder, that is C:> xampplite and double-click the xampp-control.exe file).
Now, xampp control panel will open. Start up MySQL and Apache services one by one; Windows firewall will give you warning for Apache, accept it:

 

How to install WordPress on Windows 7 to test themes and plugins offline-1

 

Now, open your favorite browser, we recommend using Mozilla FireFox for this purpose. In the address bar type:

http://localhost/

and press Enter key from keyboard. An introduction screen will open asking you to select the language, select English and you will arrive here:

 

How to install WordPress on Windows 7 to test themes and plugins offline-2

 

Now click on phpMyAdmin in the left column under Tools. We have placed the cursor over the option in above screen shot.
In the œCreate New Database Field, enter œwordpress (without quotes), and select utf8_unicode_ci in the drop down box in the next field. Click Create:

 

How to install WordPress on Windows 7 to test themes and plugins offline-3

 

After few seconds, you will get the indication on the screen by a message saying “Database wordpress has been created.”

 

Now, we have to install WordPress. Download WordPress from WordPress.org and unzip it to C:xampphtdocs:

 

How to install WordPress on Windows 7 to test themes and plugins offline-4

 

Now the important part. wp-config-sample.php ; Open it with any text Editor like Notepad, But we prefer to use gedit. You have to Edit only the lines 19, 22 and 25, namely :

 

19 define(‘DB_NAME’, ‘database_name_here‘);

22 define(‘DB_USER’, ‘username_here‘);

25 define(‘DB_PASSWORD’, ‘password_here‘);

 

You need not to change this line :

 

28 define(‘DB_HOST’, ‘localhost‘);

 

 

Change the database_name_here, username_here, password_here to that you have copied in your Notepad. Save it. Close it, again open it and recheck if they are correct. Close it.

Now, rename that wp-config-sample.php to wp-config.php …done! We are ready to install WordPress.

 

Update : Thanks to our reader Kathryn (see the comments) for pointing it.

 

Go to http://localhost/wordpress/wp-admin/install.php from your bowser:

 

How to install WordPress on Windows 7 to test themes and plugins offline-6

 

Fill up the required fields and let WordPress allow few minutes to get installed. You will be able to log in and do anything you like to test. Here is our test blog:

 

How to install WordPress on Windows 7 to test themes and plugins offline-7

 

Signature Tagged With how to install WordPress offline

This Article Has Been Shared 123 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to How to install WordPress on Windows 7 to test themes and plugins offline

  • Command Prompt Alternative for Windows PC

    Command Prompt Alternative for Windows PC is needed for advanced Windows PC users who mostly uses UNIX commands and seek a more flexible Command Line Tool.

  • Cloud Computing : Your Concerns and Thoughts of Richard Stallman

    Cloud Computing as terminology raises the eyebrows of some users who are associated with academics and computing for many years. Let us discuss on the topic.

  • Guide to Create a 3rd Party Theme

    How to create excellent looking third party theme also known as “Visual Style”

  • What are keyloggers, trojans and Backdoors?

    Here is a small article explaining the terms Keyloggers, Trojans and Backdoors to an average Microsoft Windows user.

  • Glossary of dangerous dll files of Windows operating system

    We have gathered information about some well known dangerous dll files of Windows 7 and other operating system. It will work as reference to delete them easily if someone faces such dll file.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Comments

  1. AvatarMaragaret Grandos says

    March 22, 2011 at 5:05 pm

    What a great collection of great articles in your site. I hope I can make something of that quality one day Congratulations!!. I’ve been looking for this info in many sites related to this subject until I found your site! Thanks!

  2. AbhishekAbhishek says

    March 22, 2011 at 5:09 pm

    Thank you very much Margaret :)
    I am glad these informations came to your work :)

  3. AvatarThuso says

    July 29, 2011 at 9:10 am

    Great and easy to use tutorial! I will be definately be using this method to install wordpress tonight!!!

  4. AvatarKathryn says

    September 7, 2011 at 5:42 am

    Thank you so much… this was very easy to follow and so helpful.

    there is one area though in the following line that might need clarification:

    define(‘DB_PASSWORD’, ”);

    The above character at the end should actually be an open and close parenthesis (after the comma) and even though it may seem that’s what it is, it’s actually a quotation mark. if you copy and paste this code with the quotation mark, it doesn’t work. However, if you type it into notepad as an open and closed quotations there is a bit more space and it’s clear what it is. Hope that helps someone else… once I made the change everything worked fine!

    So thank you!

  5. AbhishekAbhishek says

    September 7, 2011 at 6:49 am

    Thank you very much Kathryn for the constructive input. It will really be helpful for others. We have edited it to make it more descriptive.

  6. AvatarVidhi says

    April 1, 2013 at 11:40 am

    Really helpful guideline…I was needed it and made successful installation. Thank you.

  7. AbhishekAbhishek says

    April 1, 2013 at 9:01 pm

    Thank you very much Vidhi, for the input.

  8. Avatarrahul says

    February 22, 2014 at 11:40 am

    I am a web designer. How can i view multiple wordpress themes on localhost?

  9. Abhishek GhoshAbhishek Ghosh says

    February 22, 2014 at 4:23 pm

    Yes, you can install multiple WordPress instances & apply different themes. In that way, you can check all the websites with various themes applied at the same time.
    Obviously you can install multiple themes on single WordPress installation. I guess this not what you want.
    You can do subdirectory installation of WP on localhost.

Subscribe To Our Free Newsletter

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (21K Followers)
  • Twitter (5.3k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Basics of Data Protection on the Internet March 2, 2021
  • What is Standard Software February 28, 2021
  • WordPress Link to text Fragment February 27, 2021
  • How to Protect IP Cameras From Hackers February 25, 2021
  • 6 Sectors That Have Undergone Revamps in Digital Landscape February 24, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "How to install WordPress on Windows 7 to test themes and plugins offline," in The Customize Windows, March 2, 2011, March 3, 2021, https://thecustomizewindows.com/2011/03/how-to-install-wordpress-on-windows-7-to-test-themes-and-plugins-offline/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2021 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy