• 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 211 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, 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

Get new posts by email:

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 (24.3K Followers)
  • Twitter (5.8k 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

  • Get Audiophile-Grade Music on Your Smartphone March 25, 2023
  • Simple Windows Security and Privacy Checklist for 2023 March 24, 2023
  • 7 Best Artificial Intelligence (AI) Software March 24, 2023
  • ESP32 Arduino Water Tank Level Monitoring Using Laser ToF Sensor March 23, 2023
  • Exploring the Benefits and Advantages of Microsoft’s Operating System March 22, 2023

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 25, 2023, https://thecustomizewindows.com/2011/03/how-to-install-wordpress-on-windows-7-to-test-themes-and-plugins-offline/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

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

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

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

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT