TechTipsApp

Technology tips blog

  • Articles
    Categories
    • Tech news
    • Internet
    • Social Network
    • Google
    • Geeky Tips
    • Android
    • Windows 10
    Top Posts
    • Install Windows XP from USB
    • Install Windows 7 from USB
    • Open Facebook When It's Blocked
    • Partition Hard Drive Without Formatting
    • Reset Windows 7 Password
    • About
    • Contact
    • Privacy policy
    • Advertise
    • Terms of Conduct & Copyright Policy

How To Install WordPress Locally on Windows Computer Using WAMP

Tanmay WordPress Leave a Comment

When it comes about customizing of the WordPress, be it the design or new functionality, it requires plenty of testings with trials & errors methods. Performing such trials directly into the web server takes a lot of time due to the slow internet connection. Even, it happens to be costly if you’re in a limited bandwidth plan. You can install WordPress locally to do all such testings at your local computer. In other words, installing the WordPress locally is nothing but creating a local server environment i.e localhost at your personal computer.
The localhost is widely used by the theme designers/plugin developers to speed up the process. If you are a normal user, you can use the local server to test themes or plugins before you make them live at your real website or blog. Even, the bloggers can use the local server to re-edit the older posts at their blog. In this article, we will guide you how to install WordPress locally on Windows operating system using Wamp.
What is WAMP?
WAMP is a combined package of Apache web server, PHP and MySQL for the Windows system. Wamp creates the environment at your local Windows computer to install the WordPress on it.

How to install Wampserver on Windows PC

Download the latest version of WAMP from their official page. There, you can see plenty of options for the downloads. Choose the one which suits with your Windows version (32-bit or 64-bit). If you are not so sure, simple download the 32-bit version of WAMP as it also works on 64-bit Windows operating system.
After downloading the setup file, simply run it and follow the onscreen instruction. It will ask to choose the default browser during the installation process. Choose either Mozilla Firefox or Google Chrome by locating them from the program files folder.
Once completed, launch the Wampserver.

Creating a Database for WordPress

Basically, the WordPress uses the MySQL data bases and there is a web-based application called as phpMyAdmin which is included into the Wamp package. You can run it at your localhost by clicking the Wampserver icon from the taskbar and then clicking on the phpMyAdmin.
Launching phpmyadmin in Wampserver
The phpmyadmin will open in a new window. Click on Database in the phpmyadmin windows. Choose a name for your database and click the Create button. This will create the database.
creating dadabase in phpmyadmin

Install WordPress locally using Wampserver

Go to the official website of WordPress and download a copy of WordPress. The downloaded file is a zip file. So, extract it. It extracted into a folder wordpress. Open the wordpress folder and copy the content. Now, go to C:>wamp>www, create folder, give a suitable name (remember that this folder name will be used in your local site url). For instance, we give the name as mylocalsite. Paste the copied content into the mylocalsite folder.
Now, type http://localhost/mylocalsite/ at your browser’s address bar and hit enter. This automatically tries to initiate the WordPress installation process and informs you with a message that the wp-config.php file is missing. Click on ‘Create a Configuration File’ button.
creating configuration file in wordpress
In the next step, you need to give your database details. Type the database name that you created earlier in the phpmyadmin. The database username for localhost is root by default and the password is blank. So, put root as user name and keep the password field blank. Now, clicking on the Submit button will create the configuration file.
providing wordpress database details
The next screen informs that you have successfully created the configuration file and you are ready to install WordPress at your local computer. Click on the ‘Run the install’ button.
install wordpress locally at Windows PC
In the next step you need to give your site related information like site title, username and password for the admin, the admin email address. Once done, press the Install WordPress button.
installing wordpress at local server
The WordPress will complete the installation process in a moment and you will get a success message. You can now log into your local WordPress site any by using this url: http://localhost/mylocalsite/wp-login.php.
Now, you can test the WordPress themes and plugins at your local WordPress website before you make them live at the web server.

Enabling pretty permalink in Local WordPress

You would get into a problem when opting for the pretty permalink structure in your Local WordPress settings.Changing the permalink settings to one which you prefer can show 404 not found errors for the posts and pages in your localhost. Follow these steps to enable pretty permalink structure into your local WordPress environment.
Click the Wampserver icon from the Windows taskbar and go to Apache > Apache modules. Now, search for rewrite_module in the long list of various modules. Once found, click on it to make it marked with the tick sign.
enabling apache rewrite module
Now, go to your local WordPress admin panel, click Settings > Permalinks and choose your pretty permalink.
using WordPress pretty permalink in localhost
That’s it. Hope this helps you run WordPress at your local computer without having any problem.

Post Tags: Web server
Similar Articles from This Blog
Firebug-Lite For Google Chrome Not Loading In Local File
Firebug-Lite For Google Chrome Not Loading In Local File
Transfer Website Content Between Servers Without Downloading
Transfer Website Content Between Servers Without Downloading
Install and Control Multiple Sites in WordPress 3.0
Install and Control Multiple Sites in WordPress 3.0

Comments

  1. Sam :

    For some reason http://localhost/phpmyadmin shows nothing… cannot access the php admin. Tried install again, check if there is block in firewall etc. What could be the issue?

    Reply
  2. Tanmay :

    Is the Wamp Server online? Left-click on the icon in the system tray and click on “Start All Services”. Let me know if this solves your problem.

    Reply
  3. Iroko :

    Please what is the essence of doing this, does it have any advantage?
    Though I already have WAMP server on my pc, I use it for my php coding stuff to see how my site would like if it goes online.

    Reply
  4. FrenchChat :

    Hello and thanks for your site. I have Wampserver up and running. I logged out and now do not know how to get back to WordPress. Any suggestions?
    Thank you.

    Reply
  5. Om gupta :

    In my laptop Wampserver is not working in the local user account. It works only in administrator account but I want to run Wampserver in local user account because I do not have administrator access right. Please help me. How can I run Wampserver in my local user account?

    Reply
    • Tanmay Ahmed :

      You should set that option for all users when installing WampServer in your machine. The installation wizard asks whether you want to install the application for all users or the current users only. Hence, re-installing WampServer could solve your problem.
      If you like our post, do share at Facebook, Twitter and Google + . Thank you very much for your comment here. Let me know if you need any further assistance.

      Reply
  6. Richard :

    Hello ! I have always the same error : he “requested URL /index.php was not found on this server.”
    How can I resolve this problem ?
    Thank you

    Reply
  7. Tony :

    Its very useful blog ! ,Here i will introduce the simple steps to study the wordpress and 7 simple steps to install wordpress to wamp server

    Reply

Leave a Comment Cancel reply

Your email address will not be published. Required fields are marked *

About Us

Tech Tips App is a technology blog, looking forward to broaden the mental horizons of technical geeks round the web. Striving hard to quench your technical thirst, we have put our best efforts on the line of exhaust to satisfy your versatile technical vocabulary.

Recently Published

  1. Partitioning Hard Drive in Windows 7 Without Formatting
  2. How to Find My Contacts on Google Map
  3. Introducing SMS Organizer by Microsoft is the Best SMS App
  4. How to Fix Windows Update When It Gets Stuck
  5. How to Get Rid of Windows 10 Automatic Repair Loop [Solved]
  6. Best Antivirus for Windows 10 (Is Windows Defender Good Enough?)
  7. Best Facebook Messenger Bots to Get more out of Messenger
  8. How to Fax a Document From Your Smartphone
  9. Top Social Media Platforms You Should Always Know About
  10. Bitcoin vs Altcoin: Where to Invest? – Guide For Dummies

© 2021 Tech Tips App All Rights Reserved  Post Sitemap