Monday, 1 July 2013

How To Install Wordpress Locally On Windows

Learn how to install wordpress locally on windows.This might sound
complicated but installing wordpress locally on windows or mac is
simple and takes only a few minutes.You only need to follow the
following steps.

1. Download and Install Xampp
In order to install and run WordPress locally, you need to create a
local server environment which takes over the role of a web
host.Fortunately, this is easily done with a free piece of software
called xampp.
Visit its homepage and click on the "Installer" option then download.
You will be prompted to enter an installation directory:
It is recommended that you do not use the Program Files directory,
because of potential write permissions issues. Please note that the
directory you choose at this stage will be where your local WordPress
site's files are located.
Proceed through the installation process - there is noneed to adjust
any of the default installation settings.
2. Set Up Xampp
After the installation process, load Xampp and Start the Apache and
MySQL modules:
Confirn if your new server has started running by openning your
browser and entering "http://localhost" into the address bar.If it is
running then go on,else check the documentation that comes with it.
3. Create a Database
Every WordPress installation needs its own database, so before we
install WordPress proper, we need to create one.
From the same screen where you Started the Apache and MySQL
modules,select the MySQL Admin button. This will open up phpMyAdmin in
a browser tab. Select the "Databases" tab - here you will create your
database:
You can use whatever name you want and you're done!
4. Download, Configure and Install WordPress.

Grab yourself a copy of the latest version of WordPress from the
WordPress.org home page.Download  and unzip Wordpress. I would
recommend that you give the resultant folder the same name as your
database.
Find the location where you installed Xampp and open up the "htdocs"
directory. Paste your WordPress folder into this directory. This is
where your local website's files will live.
Double click on your WordPress folder and open the
"wp-config-sample.php" file with Notepad. There are a few variables
you need to change in here:
Obviously, your database name may not be "mytestsite" - it willbe
whatever you named your database in phpMyAdmin.
Once you're done, save the file and rename it as "wp-config.php" (i.e.
remove "-sample" from the filename).

Thats it!You have installed wordpress locally on your windows computer.You can now start posting or configure your website to be
accessible from the internet.