This is the first chapter of the Complete WordPress Theme Guide series. In this chapter, you will learn how to install WordPress on a local computer. By doing so, it will save you time from updating and previewing files (so, you don’t have to frequently upload files on every change). You can also use the local version to test new plugins, themes, and upgrades. This tutorial is intended for beginners who want to learn how to run WordPress locally.

Quick Summary

If you have some technical background, you can skip the detailed steps in this tutorial. Here are the simplified steps on how to install WordPress on a local computer:

  1. Install a local server (Mac: MAMP, PC:XAMPP or WAMP).

  2. Create a new database.

  3. Download WordPress from and extract the files to a new folder under the htdocs folder.

  4. Rename the wp-config-sample.php file to wp-config.php and update the database details according to your local server.

  5. Run wp-admin/install.php and follow the instructions to install WordPress.

  6. Done!

Let’s Begin…

Before you start, let’s look at the requirements to run WordPress:

  • PHP 4.3+
  • MySQL 4+ Database Server

1. Install a Local Server

local servers

In order to run any PHP/database application on a local computer, you need a local host (ie. Apache + MySQL). For Mac, use MAMP. For PC, use XAMPP or WAMP.

I’m using Mac here, so I’m going to install MAMP. Go to, download and install MAMP.

2. Create a New Database

After you’ve installed MAMP, run it and it should take you to the start page. Now click on phpMyAdmin. In the phpMyAdmin page, create a new database (eg. wordpress).


3. Download WordPress

Go to and download the latest build of WordPress. Go to the htdocs folder (where you installed the MAMP), extract the to a new folder (eg. mysite).

Extract WordPress Zip

4. Update wp-config.php File

In the folder, rename the wp-config-sample.php to wp-config.php. Open wp-config.php and update the database details (db_name, user, password, host) according to your local server.

Update wp-config.php

5. Run install.php

With your browser, go to http://localhost:8888/mysite/wp-admin/install.php and follow the instructions to install WordPress.

Install WordPress

What’s Next…

In the next chapter, I’m going to show you how to create a custom WordPress theme in designer way (no PHP skill is required).


Nov 13, 2008 at 2:05 am

Wow, that’s Cool.
I didn’t thought of that. But they idea is brilliant. Now I can’t change the theme without worrying about the live status …
Great ThanX

Nov 13, 2008 at 2:13 am

Great! A tutorial with Mac and MAMP installed on it! I’m fated to found this place. Hahaha. Thanks man. Waiting for your next chapter.

Nov 13, 2008 at 2:16 am

Alright Nick. That took 5 minutes. On to the next step..lets go!!! Hurry up! :)

DKumar M.
Nov 13, 2008 at 2:16 am

Nice Idea!!
Quite impressive and easy to setup.


Nov 13, 2008 at 2:45 am

I just wanted to say that YOU RULE!!!

Nov 13, 2008 at 2:45 am

Nicely written tutorial!
In case someone is trying this on Windows, WAMP ( is a nice alternative to XAMPP. I personally like it better since it has straightforward menu’s.

Nov 13, 2008 at 2:55 am

Just a note, the latest beta of WordPress is pretty cool, I have it running and haven’t run into show stopping problems. But you’re probably correct to reference a stable release :) Good tutorial.

David Hellmann
Nov 13, 2008 at 3:11 am

interesting! the next step is good to sea how make a designer a wordpress theme.

Nov 13, 2008 at 3:24 am

Good joob!!! I wait to the next chapters!

Nov 13, 2008 at 3:54 am

I’ve done this in the past, but I don’t do it any longer. For some reason, the local server programs I install are always prone to bugs, breaking down, etc.

Nevertheless, installing WordPress locally is beneficial as you can test your themes beforehand and keep a working copy of your website, replete with its posts.

Anton Shevchuk
Nov 13, 2008 at 4:29 am

Alternative of XAMPP is Denwer (now only russian)

Danh ba web 2.0
Nov 13, 2008 at 4:44 am

The post is very useful for newbie. Anyway, thanks a lot !
Keep up the good work

Ana Paula Meyer
Nov 13, 2008 at 4:52 am

Nice tutorial! Another alternative is EasyPHP (PHP – Apache – MySQL – PhpMyAdmin for Windows) in english or french. Very easy to install and an administration page with all your local web projects.

Nov 13, 2008 at 5:47 am

I can install two WordPress on a single database, for instance for a preview? If so, can I how do?

Mr WordPres$uccess
May 10, 2011 at 3:40 am

I realize that you asked this a few years ago, but, for anyone else who has the same question, you can install as many WordPress sites as you want by placing the files in different directories.
For each installation, edit the wp-config.php file. It must contain the database connection information and then, under the section “WordPress Database Table prefix”, make sure that each WordPress installation using the same database has a unique “$table_prefix” name.

Nov 13, 2008 at 5:54 am

anyone else having trouble running the XAMPP ? I’m getting libsql.dll errors running mad all over my screen when I start the admin tool….

Søren Hugger Møller
Nov 13, 2008 at 6:07 am

I agree with Sam. WAMP is very nice. I haven’t tried XAMPP, but I would really recommend WAMP.

Nov 13, 2008 at 6:40 am


Permana Jayanta
Nov 13, 2008 at 7:01 am

clear explanation. I Hope the next chapter will be published as so on as possible. I really wait for that ..

Nov 13, 2008 at 7:19 am

Your tutorial on the subject will definitely tilt the scales in favour of WP.
I have been trying to decide between many CMSs for simple sites and what you have achieve with your site gives me the confidence that it can be themed away from the existing templates out there.
I am a designer so if the amount of PHP is kept to a minimum even better :)

Nov 13, 2008 at 7:33 am

great Guide!
very good, was expecting a practical guide so

Luis Neng
Nov 13, 2008 at 7:36 am

I do an extra step when I install WP locally, I like to configure the virtual host in Apache with a fully qualified domain name and then edit my host file to point that domain to localhost.
The advantage of this setup is to save you the step of replacing all your non-qualified domain names in your code and in the database before migrating your website to a production server.

Nov 13, 2008 at 7:54 am

Thanks, have always wanted to know to do stuff locally.

Steve Ambielli
Nov 13, 2008 at 9:49 am

Fantastic tutorial. Now I can run a local server!

Todd Smith
Nov 13, 2008 at 10:08 am

quick and easy, thank you!

Corey Dutson
Nov 13, 2008 at 10:08 am

Gahhh where were you 2 weeks ago? I figured this out on my own and it took HOURS. All the tutorials I tried to use were years old.

In any case thank you for posting this.

Nov 13, 2008 at 10:13 am


Efraim S
Nov 13, 2008 at 10:56 am

I hope you won’t forget the hold ups of transfering your local database to a your online one.
The many many many hold ups.

Especially if you use security plugins. (Quick Pro Tip on that: Don’t install the Security Plugins on your local and just have them running on your live)

Love your site my fellow Torontonian. If only I had friends like YOU in this city eh? lol

Mike Brisk
Nov 13, 2008 at 11:17 am

So sweet, and easy. Thanks for posting this article.

Nov 13, 2008 at 11:31 am

great tutorials for the beginners, i can’t wait to see the next series…

greg owen
Nov 13, 2008 at 11:31 am

excellent stuff! just what i needed. & so easy! thanks a million.
roll on chapter 2!

Brian Okken
Nov 13, 2008 at 12:29 pm

I’ll second Sam’s comment.
I’ve used both XAMPP and WAMP (WampServer).
For uses such as this, I think WAMP is easier to use.

Thanks for the series.
I’m looking forward to the following articles.

Nov 13, 2008 at 2:13 pm

Thanks for this post! Looking forward to the next installment.

Nov 13, 2008 at 2:36 pm

Finally, someone will do this right. I read the “small potato” tutorials to learn wordpress. I wish you would have been available back then. You’re much easier to follow.

Nov 13, 2008 at 5:48 pm

I use MAMP on my Mac, but I think there’s a better alternative to XAMPP for Windows. It is called USB Web Server. There’s no installation required so you can just drop it anywere you want, even on a USB-stick! Check it out.

Nov 13, 2008 at 6:18 pm

This is one of the most useful articles I have read on any blog anywhere – thanks!

Dainis Graveris
Nov 13, 2008 at 6:20 pm

Finally, installing is too easy.. I think :) Cann’t wait to other parts..:)

printers brisbane
Nov 13, 2008 at 7:10 pm

Hey great simple instructions. Thanks a heap!

Nov 13, 2008 at 10:36 pm

looking forward your next post :)

Jon Williams
Nov 13, 2008 at 11:09 pm

Any chance for a textpattern article?

Nov 14, 2008 at 12:04 am

Great stuff. Never used MAMP before.

Chris Barnett
Nov 14, 2008 at 2:14 am

Thanks for a great post. Really came at a critical time. Looking forward to some more frequent entries. Amazed at how progressive your features on the blog are getting. Great stuff, keep up the great work..


Nov 14, 2008 at 8:12 am

very usefull, but nothing special. you have gained 5 days simply posting the summary eheheh

Nov 14, 2008 at 8:32 am

I’ve been working with XAMPP for a few years now but the MAPP knowledge will be useful if I ever need to setup a testing server on a Mac.

Nov 14, 2008 at 9:10 am

Nice one, should be useful to me at some point! Bookmarked.

Nov 14, 2008 at 9:28 am

Am I the only idiot who found XAMPP impossible to install? I don’t really need a solution, I’ll just get someone more technologically inclined to handle that part. Any “here, here’s” would make me feel better though.

Nov 14, 2008 at 11:17 am

Mamp rocks!

I use this process myself and definitely could not have written it better.

Great job as usual.

carrie Drazin
Nov 14, 2008 at 12:17 pm

Extremely helpful!
Thank you.

Nov 14, 2008 at 1:08 pm

Love this Nick, you are a true guru. This is particulrly helpfull since I´m starting work on a new site with wordpress as the backend.

Nov 14, 2008 at 2:36 pm

Great stuff. Looking forwards to reading the complete tutorial. (Especially as I am struggling with my own at the moment)

Christopher Ueda
Nov 14, 2008 at 5:06 pm

very cool. I’ve been updating my site and then checking it live. This is so much easier. Thanks! Definitely looking forward to the rest of the tutorial.

David Hage
Nov 14, 2008 at 5:23 pm

Thanks very much for the tutorial! Looking forward to the remaining two. Your clear instructions are great, I’ve been meaning to give WordPress a try for a while now.

Alvaris Falcon
Nov 14, 2008 at 9:09 pm

A simple yet useful and excellent tutorial, your article always make me feel impressed!

Nov 14, 2008 at 9:37 pm

Looking forward to part 2!!

Nov 15, 2008 at 12:36 am

Hey Nick, thank you so much for the tutorial. I’ve been wanting to install WP locally so that testing WP won’t be eating my all the bandwidth of my hosting plan. I’ve tried combing through online tutorials but some of them are horribly overcomplicated and makes it sound very cumbersome to get WP installed.

Thank God your tutorial came at the right time! Now I can test WP2.7 beta locally without messing with the online and active version of my WP ;)

However, I’d prefer to use WAMP because it uses phpmyadmin. Very handy and simple. Oh, and I can’t wait for the next part to be released!

Nov 15, 2008 at 2:07 am

Thanks Nick, can’t wait for the actual meat.

Nov 15, 2008 at 8:37 am


Nov 15, 2008 at 8:51 am


Nov 15, 2008 at 11:17 am

Curious – on this tutorial, you show your wp-config file and at the localhost part – you have ‘localhost:8889’ — why is it 8889 instead of 8888 ? (which is what MAMP sets it up as). I admit, I’m new to this, so maybe there’s a perfectly good explanation for this, I just thought I’d ask. Does it make a difference?

Chris O'Donnell
Nov 16, 2008 at 1:04 am


I’ve got it set up and working with localhost:8888, I’m not sure if that’s just a typo or if there’s a better explanation, but I wouldn’t worry about it… :-)

Nov 16, 2008 at 6:56 am

Yes, yes, yes! Super-handy mate.

This will save me a lot of time methinks.

Nov 16, 2008 at 7:06 am

The reson that it’s set to 8889 it that it’s MySQL port and the 8888 is the apache port!

Nov 16, 2008 at 10:32 am

That’s very cool tutorial! Love it

Nov 16, 2008 at 10:59 am

hello :)
hurm i’ve done this since Xampp 1.5. very easy to me. i use it to test my wordpress theme offline, since it won’t eat away my server bandwith.
very nice and detailed tutorial indeed. keep it up!

Nov 16, 2008 at 2:49 pm

Good guide.
I’m waiting for the next chapters.

Jorge I. Zaruma
Nov 16, 2008 at 5:50 pm

this was a very helpful tutorial for me. Thank You!….waiting for the next tut:)

Nov 17, 2008 at 4:28 am

It might also be worth covering how you switch on mod_rewrite in apache as its turned off by default. Once its switched on then you can test various perma link structures locally.

As that was the one problem I had when running WordPress locally. =)

Nov 17, 2008 at 6:31 am

very cool tutorial. very usefull to beginners in wordpress.

Amilcar Tavares
Nov 17, 2008 at 8:28 am

That’s cool. But the hard part is to pass it your server on the internet.

Luis Neng
Nov 17, 2008 at 9:53 am

I wrote an article that might save you some time :)
You should be able to migrate your blog to a production server without any hassles if you use my solution. Installing WordPress Locally and Migrating to a Production Server Hassle-Free

Nov 17, 2008 at 11:55 am

I have XP64bit and don’t work :(

Nov 17, 2008 at 1:53 pm

If XAMPP doesn’t work for you (it sadly didn;t work for me either), try another one (first uninstall the other server!) : wamp server and usb webserver (dutch site, but english software available) worked fine for me.


Nov 17, 2008 at 2:03 pm

i’m really struggling with step 5!!

when i go to http://localhost:8889/mysite/wp-admin/install.php in my browser, firefox tries to open the file with dreamweaver?!?

what am i doing wrong?

Nov 17, 2008 at 3:31 pm

You should try usbwebserver 7 you unpack it, and it works.
I always have wordpress running in less then 5 minutes.
Also mod_rewrite is on bij default.

Nov 18, 2008 at 3:09 pm

I had some trouble with this too, until I realized I had extracted the wordpress zip-folder into a new directory inside ‘mysite’. When I moved the wordpress-files out of ‘wordpress-folder’ into ‘mysite’ it worked just fine.

Nov 19, 2008 at 3:22 am

really useful tutorial,save many time to edit theme and perview the result

Nov 22, 2008 at 5:55 am


Nov 22, 2008 at 11:47 am

Thanks man.

Matthew Hodder
Nov 22, 2008 at 5:14 pm

I’ve had WAMPP set up for a while (for testing php) and never even thought of installing wordpress locally to test changes to my (few) wordpress sites. Nice post!

Nov 24, 2008 at 12:48 pm

sweet, thanks a lot

Nov 24, 2008 at 7:15 pm

It does not find where I installed wordpress.

I get the message below and it’s not caused by a firewall or anything like that.

Failed to Connect
Firefox can’t establish a connection to the server at localhost:8888.
Though the site seems valid, the browser was unable to establish a connection.

* Could the site be temporarily unavailable? Try again later.
* Are you unable to browse other sites? Check the computer’s network connection.
* Is your computer or network protected by a firewall or proxy? Incorrect settings can interfere with Web browsing.

Nov 25, 2008 at 1:54 pm

Hey giles

Not sure if its the same problem I faced but try placing your site in (the whole shebang) in applications/mamp/htdocs/

workked for me. I use a G5 at work and could only get it to work that way. Funny thing is I use an intel Imac at home and it didnt have that problem. let me if that helps.


Nov 26, 2008 at 1:58 am

Giles, make sure that you changed the wp-config-sample file and make sure that you only have a (1) parent folder under htdocs structure should be like this:
mamp>htdocs>mytestsite>then all the extracted WP files

Nov 26, 2008 at 6:06 am

with WP 2.6.x “Update wp-config.php File” as a option, the install guide will do it.

Nov 27, 2008 at 8:55 am

Hi thx for the great tutorial. Anybody got any ideas how to acces the site from a PC in my LAN to check how IE works with my freshly created theme?

Nov 28, 2008 at 2:47 pm

humm não é muito dificil estou tentando seguir as dicas acima veremos se consigo

WP Cult
Nov 28, 2008 at 3:49 pm

Working on rebuilding my web store locally right now! Thanks!
Nov 29, 2008 at 9:59 pm

Very goo Website.

Thank you


Nov 30, 2008 at 3:40 am

This was a great help! Thanks so much. I love your site, keep up the good work :)

Nov 30, 2008 at 3:32 pm

I already have a wordpress blog. how do i log into that? It seems that its creating a new site. im lost please help.

Nov 30, 2008 at 4:05 pm

im trying to install wordpress locally but im having some problems. When i get part 5 where it says :

With your browser, go to http://localhost:8888/mysite/wp-admin/install.php and follow the instructions to install WordPress.

i get an error message. Can you tell me where im going wrong?
Thank you

Nov 30, 2008 at 4:30 pm

Fahad make sure that the contents from the wordpress folder are directly in the mysite folder. applications/mamp/htdocs/mysite/(the contents from inside the wordpress folder). if you place the the whole wordpress folder inside it wont work. Hope that helps.

Dec 1, 2008 at 7:47 pm

Thanks Aris:) it works now.
Does anyone know where i can download a plugin which allow users to rate a product and review my posts or products?
by the way this site is great!
thank you for you help guys

Dec 5, 2008 at 8:22 am

I use Windows and istalled WAMPServer. The problem I have is with step 3: where actually should I unzip the WordPress content? The only ‘htdocs’ folder I have is inside ‘apache’ folder (wamp\bin\apache\Apache2.2.10\htdocs\).

Please help me.

Dec 8, 2008 at 5:30 am

Thank you for the tutorial, it is great!
I have successfully set up WordPress on localhost, however I don’t know how to login to the admin panal of WordPress. I am a newbie, please pardon me if this sounds like a silly question. Thanks in advance!

Dec 8, 2008 at 10:59 am

I am totally in the dark…so grateful this site exists!

The “newbie” tutorial for installing WordPress locally was too complicated for me…but since the blog is already up…(hosted with Hostazar…I managed to get THAT accomplished)…my dilemma now is “Themes”…I desperately need help in uploading/installing themes.

I am very ashamed because I AM a (graphic) designer…but not technical enough for Web design…my expertise is marketing/branding/imaging and PR…I’ve taken a hiatus from all that to engage in Internet marketing…so my inability to make my sites look fabulous is embarrassing to say the least. Please help!

I just discovered this blog and I’m reading all the other posts here now…in the meantime, additional hand holding is highly appreciated.

Thanks ahead of time.


Dec 8, 2008 at 11:11 pm

I’m a complete noob and didn’t know to turn web sharing on in order for MAMP to work properly. Hope this helps anyone else as incompetent as I am! Thanks for this post so much…

someone that got frustrated
Dec 10, 2008 at 5:18 am

for those trying to install wordpress and use xampp (mac or PC) when editing the code DO NOT put in a password. above says root for username and root for password. dont put in a password. you might have to remove whatevers there first. you can keep your localhost as just localhost as well.

Dec 11, 2008 at 11:07 pm

I’m stuck on Step 5. I tried that URL: http://localhost:8888/mysite/wp-admin/install.php and I get a “Failed to connect” error. I don’t know where I went wrong. I’m using WAMP server. I opened the HTML file in the wordpress htdocs folder and clicked the 5 minute install link which takes me to a page saying I already have wordpress installed. I never saw the install.php page. There were 2 blank text fields. There, I tried to name it and put my email address associated with the server. I don’t know what’s happening.

Also, What does the number 8888 and 8889 mean after “localhost:”? How do I know if I used the right number or if I need one at all?

Dec 12, 2008 at 2:36 pm

MAMP saves me soooo much time. Amazed it’s free.

Dec 12, 2008 at 4:30 pm

Super list. Thank you very much :)

Dec 15, 2008 at 11:14 am

For anyone using WAMP (and possibly XAMPP, have not tested) who has any issues related to Step 3-5, here is your solution:

With WAMP installed (or XAMPP) your Step 3, 4 and 5 will look different then, our gracious host has suggested, with a MAMP install.

Step 3.) Go to wamp / www, in whatever directory or location that wamp was installed. Extract latest (or any version) of to a folder (mysite) with only the content of the wordpress folder dumped directly into (mysite). New file structure will be wamp / www / mysite / etc..

Step4.)Unless you’ve changed the db username, password or host name then the db_name is whatever you created in Step 2, the username is root, enter nothing between the ‘..’, and host is localhost.

Step5.)With your browser go to http://localhost/mysite/wp-admin-install.php.

Hope that helps!
Thanks again, Nick!

PS. If you’re having a problem getting your WAMP or XAMPP server online, that’s a whole ‘nother issue, but check to make sure you’re not using IIS; infact disable IIS if possible.

Redd Seider
Dec 20, 2008 at 10:35 am

Having endless problems with the install and have tried both Nicks and your directions. Using XAMPP. No luck on either front, as constant “The requested URL was not found on this server” errors.
Have tried all combos:

http://localhost:8889/wordpress/wp-admin-install.php. (get “IE cannot display this webpage” error on this one. wp-config localhost changed)
http://localhost:8888/wordpress/wp-admin-install.php. (get “IE cannot display this webpage” error on this one. wp-config localhost changed)

Some questions about your post:
1. In “Step 3″, you say ” Go to wamp / www”… This directory does not exist. Do you have to create it?

2. In “Step 4”, you say “…… the username is root, enter nothing between the ‘..’, and host……” What is the “enter nothing between the ‘…’ referring to? The password?

3. In “Step 5”, you say “With your browser go to http://localhost/mysite/wp-admin-install.php

Should this be:http://localhost/wamp/www/mysite/wp-admin-install.php?

Thanks so much for your assistance!

Dec 22, 2008 at 5:32 am

I’ve finally got a local WordPress install setup on my Mac thanks to your tutorial. Great for testing new versions and making changes to existing sites without editing live content. Thanks.

Dec 24, 2008 at 3:15 pm

Wow, what a difference this makes!

Dec 29, 2008 at 11:44 am

Excellent. works well. Thankyou! :)

Emily La Porte
Dec 30, 2008 at 6:48 pm

I am pretty new to all of this, but eager to learn how to set up my own blog. What is the advantage of installing WordPress locally?

steve b
Jan 5, 2009 at 10:16 pm

I’d like to thank Okeif who posted the life-saving tips (comment 101) that are needed to get the install working on a PC. Moved the whole thing from super-frustrating to super-satisfying. Whew…

Jan 6, 2009 at 5:04 am

Brilliant, thank you!

What a great idea for working on your design without constant ftping.

Jan 7, 2009 at 3:24 pm

Really useful, thanks. In fact, I substituted IIS for Apache on Windows XP, because that’s my usual development environment. All works a treat with PHP and mySQL.

Jan 8, 2009 at 8:12 pm

AWESOME! Thank you! This will be VERY VERY usseful from now on. thanks a lot.

Jan 9, 2009 at 3:13 am

Wow, thank you!

Jan 11, 2009 at 10:30 pm

IS this lesson inteded for a Paid WordPress account? or this can also apply to a free WordPress Acount.. ?????

Jan 12, 2009 at 8:30 pm

Hi, i keep getting 404 Not found for http://localhost:8888/mysite/wp-admin/install.php

Tomas Lonnberg
Jan 14, 2009 at 2:23 pm

Hi, Brilliant site, brilliant post!!!
I had mega problems getting the XAMPP Server working locally [Windows XP], so I decided to try the WAMP. It works a treat.
This is how I did it – and it has been commented here before so this really is following on the instructions of other users on this post, [Okeif and otheres], anyways… This is for Windows XP,
Download and Instal WAMP,
1) create a folder, say ‘mysite’ to your c:\wamp/www/ folder. 2) download WP and unzip it to c:wamp/www /mysite, alternatively just unzip it to your desk top and then copy all of the wp files to c:wamp/www/mysite Make sure you do not a)copy the ‘wordpress’ file in there, just the content and b)don’t copy the wp file content into www. It needs to go to c:wamp/www/mysite !
3) go to phpmyadmin, which can be found on the little icon at the right bottom of the desktop. Create a data base for e.g mysitelocal or what ever.. Just make a note of it.
4)Go to your wp-config-sample file and rename it to wp-config , also set your DB_name as ‘mysitelocal’ or whatever else you chose, DB_user as ‘root DB_password as ” or if you have set a password then use it, and finally DB_host as ‘localhost’ – then save it!
5) next type in http://localhost/mysite or alternatively just write http://localhost and then choose from ‘Your Projects’ the mysite folder and you should be on your way. I hope this helps..
Again Brilliant resource site!! Thanks for all of your help past, present and future.

Jan 15, 2009 at 5:53 pm

JUST AS A HEADS UP!!! Sometimes the password is not root at all for a local host! In my case it was supposed to be left blank. Caused me hours of issues! Silly me.

Jan 20, 2009 at 12:06 pm

do you think is possible keep both IIS on local (window 2003 server) and apache…
In this way I can test my sites that working in ASP and my sites that working in php…
Thank you very much


Jan 29, 2009 at 9:21 am

Thanks! Fantastic site! And thanks Tomas L. who saved me from giving up with your tips for the Windows installation. It works on Vista too. Yeh!

Feb 11, 2009 at 1:38 am

Thanks for sharing it, Its so easy !!
Thanks again

Ruchi Parikh
Feb 15, 2009 at 12:33 am

Thanks Alot .. it helped me in setting it up locally, only problem is of simulating .htacess file in the windows xp machine, it would be great help if that could be provided.

Mar 2, 2009 at 9:23 pm

When I go to /wp-admin/install.php, all I get is a blank page. For some reason it’s not prompting me to install. Can anyone help me fix this issue please?

Mar 4, 2009 at 2:18 pm

Thank you very much for this helpful tutorial.

Mar 24, 2009 at 11:02 am

Ashley, are you by any chance running on a 64 bit Operating system? I am, and I just discovered recently that XAMPP still hasn’t released a 64-bit version… but there are workarounds… if you are interested (an running on 64-bit)

Mar 25, 2009 at 3:43 pm

Great tutorial! For those of you on a mac and still struggling with MAMP here is another great video tutorial on setting MAMP up on your mac

Mar 26, 2009 at 5:11 pm

HI – can someone help please

I Get to the very last page and it reads

The requested URL /mysite/wp-admin/install.php was not found on this server.

Apache/2.0.59 (Unix) PHP/5.2.6 DAV/2 Server at localhost Port 8888

Ive tried this 3 times with no joy, can anyone recommend what i might be doing wrong?



Apr 1, 2009 at 2:41 pm

Hey, Great tutorial.
This is for Paul and anyone else having probs installing WordPress, I think there is a typo where it says “http://localhost:8888/mysite/wp-admin/install.php” I think it should be 8889. Worked for me! Hope it helps.

Apr 1, 2009 at 3:01 pm

Oooopppps, not a typo, scratch my previous comment. I just forgot to put my WordPress dos in the htdocs folder within MAMP. Now it’s working.

Apr 2, 2009 at 5:22 pm

Hello everybody,

I thought I had done everything right, but I was wrong. For some odd reason when I click the instal file dreamweaver launches and no install takes place.
Following the instructions on the tutorial this is what I did:
1 Created datebase
2 Downloaded wp files, placed them inside a folder named mysite, and subsequently I placed the mysite folder inside the htdocs of mamp.
3) I removed “sample” to rename the wp-config.php
4) I launched dreamweaver and I entered the info inside wp-config.php file (database name, user, password)
5) I went to http://localhost:8889/mysite/wp-admin/install.php and downloaded the instal to my desktop.
6) I click the instal file. Dreamweaver launches showing the istal file, and no instal takes place.
I’m stuck here. I don’t know what to do. What did I do wrong? Can somebody help, please?

Thank you in advance.

For some odd reason, after I download from “http://localhost:8889/mysite/wp-admin/install.php”

Apr 12, 2009 at 9:11 pm

Wonderful! My dilema: Running IIS and Apache on the same PC. I didn’t want to disable IIS. After a bit of struggling I managed to install WAMPServer on my PC. Now I have both servers IIS and Apache running on the same machine. I just changed “Listen 80” to “Listen 777” and “ServerName localhost:80” to “ServerName localhost:777” on httpd.conf – After the change I had to “Restart All Services”. From now on when I want to access Apache server I just have to change the URL to http://localhost:777/YourSite – Great article! Thx!

Apr 16, 2009 at 2:35 am

Im trying to install the wordpress on a rails application.
+ Can wordpress be installed on rails application?

Apr 16, 2009 at 6:37 pm

nice, really nice!

Keith D
Apr 17, 2009 at 7:25 am

I’ve just bought a copy of “WordPress theme design”, cost me nearly £25.00.
Pity I didn’t find this article first!!

Question – for windows vista, which is best XAMPP or WAMP?

Thanks for the articles.

Keith D

Bonny Stohlquist
Apr 22, 2009 at 11:23 am

I am using wamp for a pc. I am having trouble with installing wordpress when I type in http://localhost/mysite/wp-admin/install.php I get this error message:

URL /mysite/wp-admin/install.php was not found on this server.

I can get to localhost/mysite and I can see the wordpress folder but cannot access it. I get the error message above.

I put my SQL hostname as “localhost could this be my problem.

If anyone can help me I would appreciate you emailing me at [email protected].


Apr 25, 2009 at 3:56 pm

First of all, thanks for yet another great tutorial. I love this site!

I’m running on Windows Vista. I personally couldn’t get XAMPP to work at all, but after some trial and error here’s what worked for me:

1. Download WAMP (
2. Follow the tutorial at the following site to get the server and wordpress up and running —

Hope this helps.

Apr 27, 2009 at 3:15 pm

May 5, 2009 at 6:15 pm

Since leopard comes with PHP and apache preinstalled I just wanted to install mysql instead of installing mamp, also because I can use the mac as a webserver If i chose and from what i understand this would be impossible to do with mamp, it can only be used for testing locally and could not be viewed by anyone else. I understand the security issues but I would like the ability to do so. My question is how can I install wordpress using the apache php and mysql installed on the computer and not through mamp?

Jun 23, 2009 at 2:56 pm

I followed the tut.through each step, but developed a problem when trying to run ‘install’. I copied “http://localhost:8888/mysite/wp-admin/install.php” into my browser, but it comes up an blank white page,nothing happened.
when I change the address to “http://localhost:8889/mysite/wp-admin/install.php”,it asked me to save the install file. I did, but when open it,Adobe GoLive launched with these random codes “4???
5.0.41?)???@uQsmJjU?,¢??????????????Nc,L{J=1{=\7???ÿBad handshake”….I’m stuck….
I did put wordpress docs in the right folder(htdocs).
Please help me,thanks.

Jun 29, 2009 at 3:09 pm


All I could express after seeing your wordpress blog’s design and beauty was this ” Oh my God, I have never seen such a beautiful design and blog”.

Well Anyway I do know Photoshop and Fireworks but I do not know how these flowers are made and even if these are made in these two or something else, I wish I could create design or flowers like this page has. Wow what is it did you develop yourself I write and preview is showing up of text I am typewriting that’s very new for me.

Any hint will be appreciated.

Oh yeah actually so far I only add entries for short tutorials or hints in my blog for technical programming or gadget or software related.

Thank you for reading my comments.

Jul 2, 2009 at 11:33 am

hi… i’m confused. i bought a host plan and installed my wordpress on it. does this mean installing it on my computer is much more better?

Jul 3, 2009 at 3:01 am

Could someone give me some advice?

So I downloaded wordpress and installed in sucessfully on localserver –does this mean that the blog is only visible from my computer? I don’t have a web host. can I make one myself? if that is possible I’d like to try and figure it out. thanks!

James P
Jul 7, 2009 at 9:14 am

Following along with the WordPress tutorial here I’m running xampp 1.7.1 on vista sp1 but since I tried to start mysql with it I just get the 1067 error code every time I try to launch phpMyAddmin with it. Thing is I used to be able to run phpmyadmin just fine in previous releases but not anymore.

I’ve Googled the error on a few sites now and I’m not getting any solution yet. Please help as I ‘m banging my head against the wall here!

James P
Jul 7, 2009 at 4:05 pm

Solved my problem by switching to my home PC setup :grin: works a charm.

Jul 10, 2009 at 9:20 am

Hi, My wordpress installation stalls at the last stage after I key in my blog title and email. I am not getting the “Success” page with the generated login and password. Which step am I missing?

Please help! Thanks in advance!

saç ekimi
Jul 14, 2009 at 11:04 am

Thank you very clear

jez stevens
Jul 23, 2009 at 10:11 am

hi love the tutorial so far – very clear, but when I try to run the wp-install php file I get some gobbldygook and “bad handshake” can you help please.

I’m running os x10.4.11 with the latest version of wordpress and mamp.

Aug 8, 2009 at 6:12 am

these are awesome!
thanks for putting in the effort to get this list together

Aug 8, 2009 at 8:47 am

Great Info! Had to tweak a few things for Windows Xammp, but very easy process. I love your site. Its one of the most beautiful I have come across and it is full of useful info for an aspiring designer. Thank you for all your work.

Aug 8, 2009 at 8:03 pm

helpful article …
was looking for something like this …
thanks for sharing …
am gonna try local wordpress intallation now …

Aug 26, 2009 at 6:04 am

Mac people, can’t get to the install bit?

You need to move the wordpress folder (that you unstuffed) into the htdocs folder found in the MAMP directory (should be installed in your applications folder).

Than go to the localhost URL described in step 5.

Sep 4, 2009 at 7:23 pm

Great Info! Had to tweak a few things for Windows Xammp, but very easy process. I love your site.

harga emas
Sep 7, 2009 at 11:30 am

I like this post and the lesson, thanks for making it.


Keya Lea
Sep 10, 2009 at 4:09 pm

Hey Jez, I got the same thing, but when go you to install, take out the /mysite and it will take you to the install page – assuming all other things have been done.

Thank you to the writer of this post! It walked me through and got me up and running.

Sep 10, 2009 at 7:54 pm

Thank you very clear steps

Sep 13, 2009 at 10:51 am

thank you very much ..

Sep 20, 2009 at 7:11 am

nice and clear – thank you!

Learning WP
Sep 21, 2009 at 12:33 am

In case anyone (Mac users) is having problems with all graphics and pics showing up I figured out why. Another popular tutorial said that you can install wp in any folder on your computer inside a htdocs and I did under my username. But I looked for weeks why the themes and WP icons wouldn’t show up. After reading here I read that wp needs to be installed into the “htdocs” folder inside of MAMP, inside of the apps folder. I also changed my Preferences inside of MAMP to “Reset MAMP ports” and it changed the Apache Port to 80 and they MySQL Port to 3306 and in my browser I put in “http://localhost/wordpress” and everything works perfect. I am new at this so don’t know if it’s the right way but it works to work locally.
I love the design of this site! Thanks for all the great info here.

Sep 21, 2009 at 9:36 am

Great , Installing WordPress Locally
Great article. CSS saved web design

Sep 25, 2009 at 11:44 pm

Hi, Thanks! this is very helpful article.

Oct 15, 2009 at 12:41 pm

Thanks for the article and I’ve managed to install MAMP with no problems, along with getting a WP install up and running.

However, I cannot get my local install to see any new themes I copy into teh theme directory – any ideas?

Oct 27, 2009 at 4:48 am

Hi ^^
The information is pretty clear, but i think im doing something wrong and i need help to solve it. When i go to the link you mention to install.php i get this error that says the page was unable to reach… im pretty sure i did something wrong on my wp-config.php doc and actually i dont know the actual account and password for MySql, so please someone contact me and help me i need this thing up o.o I know im missunderstanding some information but i need you to guide me on this ^^

Tnx for all the tutorials and information ^^

Oct 29, 2009 at 1:15 am

Thanks for this detailed tutorial. It clears all my doubts, bookmarked this post.

Oct 31, 2009 at 5:08 am

Thank you to the writer of this post!

Filip Jakobsen
Nov 6, 2009 at 4:01 pm

This is brilliant! THANK YOU SO MUCH for making this tutorial :-) :-) :-)

Nov 23, 2009 at 5:31 pm

Outstanding Article , I thought it was tremendous

I look ahead to more great postings like this one. Do you have a RSS I can subscribe to for updates?

Dec 6, 2009 at 5:31 am

your site so beautiful !

Dec 7, 2009 at 1:29 am

Excellent tutorial. Thank you very much

Dec 11, 2009 at 5:37 am

it’s very good post

509 Media
Dec 17, 2009 at 4:20 pm

Nice write up. Saved me a little time explaining it to someone. I use WAMP on my pc for working on WordPress pages. I have had no issue with it. I recommend it as well.

Paul Wozney
Dec 17, 2009 at 10:00 pm

Hi there,
I used your instructions to set up a local beta site for the school I worked for last year, and it worked flawlessly. I moved to a new school this year, and wanted to start fresh. I deleted the old site, created a new database in myphpAdmin for the new site, and now I can’t get it to work at all. I keep getting the same error message about already having installed wordpress despite having deleted the old database in phpmyadmin.

Any ideas? I have a screenshot of the error message if that would help. Any assistance would be brilliant. Thanks!

Jan 4, 2010 at 1:11 am

Check these video…it explains how to install wordpress on local computer..
Please place these video in your blog so it will help your visitors


Jan 6, 2010 at 1:42 am


SE7E Design
Jan 6, 2010 at 4:20 pm

Excellent Tutorial! Spent hours trying to figure this out but once I found this tutorial I had WordPress running locally in half a minute!

Victoria cooke
Jan 25, 2010 at 5:48 am

thank you so much @ Tomas Lonnberg because i couldnt get mine to even give me the page to bring up wordpress until i read your guide. and i went through 13pages of comments and guide trying until i came to yours ^-^ thanks again=)<3

Alvin Tan
Feb 3, 2010 at 8:27 pm

I’ve just installed WP 2.9.1 locally with XAMPP Windows 1.7.3 in my Vista PC.
How To Install WordPress Locally With XAMPP

Feb 18, 2010 at 11:23 pm

Hi, just a simple question
Im new to wordpress and php
Which version of local server should I use if the machine I work on locally is a widows pc whereas the server I will be using is with Linux.

Thanks for the tutorial, it’s really helpful

Feb 23, 2010 at 6:01 pm

Thank you for the clear guide. I had been battling for a week to get WordPress installed – you gave me that one bit of information I was missing from other instructions and I got it done in half an hour.

Feb 24, 2010 at 10:08 pm

Nice tutorial mr…. but my problem is that, i’m stuck in 5. Run install.php “Warning: require_once(../wp-load.php)” i need help really badly…. thank you…..

Mar 24, 2010 at 11:11 am

I’m stuck on step 5, please help!

I’m using a mac and MAMP. I’ve tried every way of trying to get that setup page and have had no success. What am I doing wrong?

Mar 25, 2010 at 1:04 pm


Thanks for this but i have a problem with steps 4 & 5.
I inserted the ‘database name’ no problem. (very impressive i know).
– where do i find the username and password to insert in step 4?
– when you say ‘localhost:8889’? what do you mean?
Sorry if this is all newbie questions but im genuinely stuck.

and assuming i fill in the info in step 4 correctly, then running /install.php should work?

thanks in advance

Kyle King
Apr 2, 2010 at 2:21 pm

You might want to add the Microsoft Web Platform Installer as a possible way to install wordpress locally. It is a really easy install for windows users (about 10 minutes).

Kyle King
Apr 2, 2010 at 2:27 pm

I would be willing to do a guest post for web designer wall detailing how to use the Microsoft Web Platform. Contact me if you are interested at kyle{at}highergroundstudio{dot}com

Jodi Henderson
Apr 6, 2010 at 8:12 pm

This was a fantastic help! Thanks very much!

Apr 9, 2010 at 5:37 am

resolve for step 5.

in wp-config file replace original code with this:

define(‘DB_NAME’, ‘wordpress’); // The name of the database
define(‘DB_USER’, ‘root’); // Your MySQL username
define(‘DB_PASSWORD’, ”); // …and password (needs to be empty, just for local install)
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

of cours, your datebase name must be “wordpress”.


Web Design
Apr 28, 2010 at 8:59 pm

Great info !! THANKS!!!!

San Diego Mobile Notary
May 13, 2010 at 7:48 pm

Great tutorial. I was always looking for ways to install WordPress and work with a theme locally. There are many steps, but all are laid out very well. Thanks for taking the time to help everyone.

San Diego Mobile Notary

Graham Armfield
May 24, 2010 at 4:57 am

Thanks for the clear instructions and easy to follow layout. This article was very informative.

May 25, 2010 at 8:47 am

Brilliant tutorial and have used it before. I updated my MAMP Pro, and now it won’t work!!! So annoying… it cant connect and I keep getting this msg-

Not Found

The requested URL /mysite/wp-admin/install.php was not found on this server.

Please help, I need to get this sorted. I’ve done everything that is required so really dont know whats going on! Thanks

May 27, 2010 at 2:41 pm

Things are slightly different for WAMP: Here’s what I did:
1. Install WAMP into c:/. When done, run WAMP then click on WAMP icon in icon tray> select ‘start all services’ from menu.
2. Go to your browser address bar: http://localhost… (if you see nothing, try closing ‘SKYPE!!!!’), click on phpmyadmin link at bottom (this just takes you to localhost/phpmyadmin)…
3.You now ‘create new database’, give name ‘wordpress’… leave all other dropdown boxes.
4.When it has created that, go to tab towards top right called ‘Privilages’… click ‘add new user’, enter a username and password twice, ignore everything else and click GO on bottom right to save this user.
5. Now you can continue from STEP 3 in Nick (webdesignerwall’s)
tutorial, but note your folder will not be called ‘htdocs’ it is call ‘www’ found at c:/wamp/www/’folder-name-you-created-for-your-local-wordpress’…

arvee marie
Jun 6, 2010 at 11:39 am

i used xampp and it was great. i used it before making my site go live. ♥

Jun 15, 2010 at 4:53 pm

Never ever came to my mind LOL to do it localy tzzz, now i can work even when im without net
10 thumbs up

Irwin Ramón
Jul 29, 2010 at 7:22 pm

Thanks so much. Steps were nicely presented and easy to understand to a beginner like me. I am trying to create an e-commerce site and even though I read that drupal is the best way to go. I will try to do it with wordpress because I read is possible. I saw a template that I really liked that was supposed to be used with drupal, but I was not able to handle it. I was able to install drupal on a local server, but I was not able to do anything with the template that I chose. I know drupal is a more powerful CMS, but for someone like me it doesn’t add to anything if I can’t understand how it works. I hope that WordPress is as easy as I read. Again, thank you for the tutorial it was clear and useful enough for beginners like me.

Jul 31, 2010 at 4:57 am

When I go to
I get
Not Found

The requested URL /mysite/wp-admin/install.php was not found on this server.

Apache/2.0.63 (Unix) PHP/5.3.2 DAV/2 Server at localhost Port 8888

Any ideas what I am doing wrong. Much appreciate a response

Aug 2, 2010 at 12:20 pm

Brother, you’re awesome! I mean knowing something is one and actually taking out time to help others is a mere demonstration of passion. Thanks a ton!

Chandra or Ibukerte
Aug 2, 2010 at 4:27 pm

@ ALEX..thanks you give me a solution since I am using wamp server. The wordpress already installed on my PC. Hug from Timika, Papua, Indonesia.

Aug 4, 2010 at 4:54 pm

I’m a total noob at this (a) So when I try to install wordpress, it says Error: PHP is not running. I downloaded everything above, I even downloaded php seperately and after that I downloaded the WIX to manually install php, that totally didn’t work :( I do have another program called eclipse. I can open the php files and edit them, but I can’t view them. When I try that there comes a black window and it disappears, seconds after… Can someone help me??

Abida Sultana
Aug 8, 2010 at 2:19 am

Thanks .

arif wachyudin
Aug 8, 2010 at 1:07 pm

nice posting!

thanx a lot bro…

Aug 28, 2010 at 4:55 pm

Thanks so much for this guide. I was a bit daunted about all of this and you have really helped. I don’t usually show my gratitude on posts like this, but i felt i needed to on this one…

Sep 2, 2010 at 4:39 pm

Is this what I would use to just test out creating a website with WordPress and not having a live website just yet?

Sep 21, 2010 at 6:43 am

we are in wordpress age thanks great post

your mother
Sep 28, 2010 at 2:39 pm

It’s nice to answer people’s questions. Otherwise, why bother posting them?

Oct 1, 2010 at 7:00 am

Hey thanks for a great tutorial.

What if I change my mind (LOL) about the name of the wordpress folder in htdocs?

I tried changing the name of the folder from “wordpress” to “testing” and then changed the Mamp url to http://localhost/testing/ and ended up with a blank screen.

Thanks very much


Oct 14, 2010 at 12:45 pm

thanks for write up this guide.

correction needed: please include this step in your guide:

– for Windows, unzip wordpress into c:\wamp\www\wordpress

Oct 24, 2010 at 9:52 am

My live server will be Linux based as the hosting company does not include WordPress installation for Windows. Idiot level question then:

1) if I download XAMPP to use as the local server for a local version of WordPress, should use the Linux version of XAMPP?

2) If I use the Windows version of XAMPP, will it prevent me from uploading my WordPress site to my live, Linux server?

3) If I DO have to use the Linux version of XAMPP, which Linux software would you recommend – a friend suggested Ubuntu – and would I be better off running Ubuntu with a virtual machine such as vmware to avoid issues with my regular Windows XP OS?

I am new to this, so bear with me. Thanks

Randy Wilburn
Nov 7, 2010 at 5:08 pm

I would like to work on a site on my local computer before taking it live. My question is what do you do to take it live once you have worked on it on the local server and you like what you’ve created? Please advise.



Dec 1, 2010 at 12:43 am

good for sharing, i like it

Dec 3, 2010 at 12:40 am

When you do article marketing, your intention is to increase the number of visitors to your website. It is not our abilities that show what we truly are, it is our choices. I have look for such a article for a long time, thanks a lot.

Alana Burton
Dec 6, 2010 at 11:28 am

The design template for this site is fab! Bright & strong & wish it was a standard template as it’s stunning! :-)

Dec 13, 2010 at 12:18 am

Nice sharing. It helped me a lot. Thanks for upgrading my knowledge.

Los Angeles Web Design

Dec 13, 2010 at 7:45 pm

THANK YOU! I’m such a newbie I was stuck on the WP site’s final instructions until I found this lovely, helpful post. I’m now up and, well, toddling, but I’d still be stuck without your help!

Neeraj Prasad
Dec 22, 2010 at 6:46 am

This is a good way to learn word-press.

Jun 3, 2011 at 6:04 am

Hello this is a good websites..
I love it to see. It is a very useful for user. And It is very interesting for us. I suppose to take help form you for making a WordPress website.

Thanks Neeraj

Dec 23, 2010 at 9:56 am

Awesome. This taught me a lot! Thanks!

Henry Peise
Dec 23, 2010 at 11:35 pm

People can have no interst in Nokia, Moto or other mobile phone brand, but he wiil surely love the apple offical white iphone 4.

Juno Mindoes
Dec 24, 2010 at 10:10 pm

white iphone 4 available now. It is the best news today.

Dec 28, 2010 at 11:56 pm

@Robin: If you’re already running Windows, just use XAMPP for Windows. WordPress is cross-plaform, and it won’t matter which version of XAMPP you use to edit your local version. Seriously, skip vmware, skip trying to install Ubuntu and just run the Windows version of XAMPP.

Cape Verde
Jan 9, 2011 at 8:33 am

There are different ways of doing that, but what I generally do is export the database using the ‘tools’ menu and import into the live website, then upload all the theme files and plugins via ftp.
It takes a while but it’s quite simple.

Jan 9, 2011 at 12:30 pm

Q: so should I download MAMP into my applications folder or inside the site folder for that specific website?

Filipe Valente
Jan 10, 2011 at 4:44 pm

Cool but the problem I’m having is how to publish it online after building it on wamp how do I change the path how do I install the database on the server thanks

Uçak Bileti
Jan 11, 2011 at 11:27 pm

hikmet abi

Jan 25, 2011 at 4:26 pm

I am not a developer at all and trying to work on a new theme while keeping our default WP one live. Is there an easier way to design our new theme (we’re customizing an existing theme) than to do it on a local server?

On a similar note, I tried to follow your instructions and am stuck at “Run install .php”. The url you provided is pulling up a 404 page.


tütüne son
Jan 29, 2011 at 3:53 pm

Awesome. This taught me a lot! Thanks!

Aug 7, 2011 at 1:40 pm


I have found a wonderful guidance About step by step One Click Installation Of WordPress….

I think you should also take a look

altın çilek
Feb 2, 2011 at 6:06 am

That’s Great! Thanks for the post!

hcg damla
Feb 2, 2011 at 1:42 pm

Thank you!! Very helpful, great technique and great explanation. And looks beautiful!!

hcg damla
Feb 2, 2011 at 1:42 pm

Cool but the problem I’m having is how to publish it online after building it on wamp how do I change the path how do I install the database on the server thanks

Feb 14, 2011 at 1:26 pm

I am using XAMPP. I have downloaded & extracted WP. I changed the file name to wp-config.php as instructed, but when I try to open it, Windows tells me it cannot open it and needs to know what program created it. I am a beginner. Please help……..

Nigel Anderson
Feb 21, 2011 at 6:43 am

Is it possible to have multi-site with a local install of wordpress?

I followed your instructions for Mac — no problems, thanks — but it means the URL for the local site is “localhost:8888” etc… and if you try to create a wordpress network it throws the error:

Error: You cannot install a network of sites with your server address.

You cannot use port numbers such as :8888.

I don’t know enough about working with servers to know whether the port number can be dispensed with or not.

Thanks for an interesting set of posts.

May 28, 2011 at 2:04 pm

same question here. I’ve tried masking the port from WP’s perspective by mapping to an external domain, but it seems to be a dead end. Someone must have gotten around this!

Nick Tennies
Feb 23, 2011 at 5:42 pm

Awesome :)

How To Put On A Condom | How To Get Taller
Mar 17, 2011 at 5:42 pm

I learned to run WordPress locally with this tutorial. I thought it will confuse me but, it’s easy to follow.

How To Get Taller | How To Put On A Condom
Mar 17, 2011 at 5:42 pm

You got me addicted!!! More! More!! More!!!

Mar 22, 2011 at 11:01 am

I recommend this site to embed more than 10.000 Web radio at any site or blog

Apr 4, 2011 at 10:33 am

Thank you so much for installing wordpress tutorials. finally I could install wordpress

Apr 17, 2011 at 2:04 pm

Another questionnaire, the participants’ problem identification and structuring, idea generation, problem elaboration and clarification, such as creativity, problem solving insertion sezkin idea which one’s preferred styles are evaluated. While participants preferred the style of non-disclosure and intellectual development of ADHD, with ADHD, participants chose to produce ideas.

Apr 25, 2011 at 6:05 am

Thnx I will try this to run my moms website locally and do some test befor putting it online. Just what I need.

May 19, 2011 at 5:02 am

hi, my wordpress blog is not proper working..i can’t upload any file images, audio & some plugings is not working…check out smoothslider its not showing slideshow..i have try also deactivate smooth slider,,and then reactivate it but its not working proper…please help me so many problems in my wordpress blog.

Jun 5, 2011 at 1:25 am

I’m trying to install a local copy of WordPress on my personal computer so I can work offline and later upload my corrected site to my host server. I followed instructions from people who seem to know what they’re doing. This is what I did exactly:

1. I successfully installed MAMP on my local Mac hard drive (Local Server)
2. In the phpMyAdmin page, I create a new database with my site’s name.
3. I went to and downloaded the latest build of WordPress. Went to the htdocs folder (where I installed the MAMP), extracted the files and moved them into my new site folder (located in ).
4. Inside my new site folder, I renamed the wp-config-sample.php to wp-config.php. Opened the wp-config.php file and updated the database details according to my localhost server (db_name = mysitename, user = root, host = localhost:8889) .
5. At this point, I went to my browser and typed in so I could install WordPress. Instead of the WordPress screen, I got the following message: “The requested URL /mysite/wp-admin/install.php was not found on this server.”

I’m stuck. Please help. How do I fix this?

Thank you.

Jun 11, 2011 at 2:47 pm

Change your entry from 8889 to 8888
See #5 in instructions:
With your browser, go to http://localhost:8888/mysite/wp-admin/install.php and follow the instructions to install WordPress.

Jun 21, 2011 at 2:55 am

I am having the same problem.. I went through all of the steps and I can’t open any php files in my browser at all, let along install.php. I always get the message “Not found.”

The servers are on, I did check that. And I went in and changed wp-config they way you said (8888 and 8889) and it still didn’t work. I am starting to get really frustrated, I had this operation working on my PC in minutes, but it has taken me hours of work so far on my mac and I still can’t get it working…

Jul 25, 2011 at 11:47 am

This is my second time around installing wordpress locally and have going through a few (human error) mistakes.
1. Make sure MAMP preferences… is ” /Applications/MAMP/htdocs/ and that is where your folder is.
2. Double check “db_name = mysitename” with MAMP database name, and other file paths are correct. For example, are the wordpress files in a folder within mysite (/mysite/wordpress/wp-admin/install.php)?

p.s My localhost is set to 8889 and is working fine.

Anyways really came here to say thanks for the great tutorials.

Jun 8, 2011 at 5:00 am

Hi Guys, I am running MAMP with multiple wordpress sites and databases locally on my Mac which is great. If I want to get them onto my laptop so I can work on them out and about what to I need to do. Any help greatly appreciated.

Jun 13, 2011 at 10:31 pm

Hi for some reason I’m having an error establishing a database connection?

do you know what might be wrong with my database or what I’m doing wrong? I followed your instructions perfectly

Jun 26, 2011 at 4:16 am

Thanx for this post. Thank you so much for installing wordpress tutorials. finally I could install wordpress.. please keep up to date with wordpress ……

Jun 28, 2011 at 10:52 pm

Great concise instructions. I’m working on converting our hotel website into WordPress platform. I decided to do it locally, on my machine. But for some reason I constantly get an error while establishing database connection. I’m using WAMP. Should I switch to XAMPP? Is there any difference? – Thanks.

Jul 29, 2011 at 5:35 am

Nice post , i will try it ……


Ben Ford
Aug 9, 2011 at 9:33 pm

many thanks for the nice concise tutorial here Nick : )

Aug 23, 2011 at 11:06 am

And then he handed you the thirty-five 45

Aug 24, 2011 at 2:01 pm

Thanks for the guide. It’s self explanatory. My problem now is that I can’t install a php server in my system. I then used wamp and it installed. Trying to run it, it displays an application error message. What am I to do? Is there any other reputable server that has php server, database mysql and apache. Any help will be appreciated. My email is masterweb4real(64)yahoo(dot)com

uggs cheap
Sep 11, 2011 at 11:14 am

This would be the proper weblog for anybody who wishes to discover this topic. You realize an excellent deal of its almost tough to argue along with you (not too When i would want鈥aHa). You really put a brand new spin utilizing a topic thats been written about for decades. Fantastic stuff, just fantastic!

Sep 17, 2011 at 11:40 am

I’m good up to step 5…then when I eneter http://localhost:8888/mysite/wp-admin/install.php into my browser, it just prompts a download of install.php?
What have I done wrong?

Set Up A Blog With Mel
Sep 18, 2011 at 6:11 am

This is the best tutorial I have came across for setting up wordpress locally. The instructions are simple to follow and very clear. A wonderful post will be back to see what else you have to say.

Cheers from Mel

Sep 23, 2011 at 5:04 am

Thank ‘ s For Gui d me how to install WordPress……………..

Nov 19, 2011 at 12:16 pm

What a very user-friendly tutorial! I had only 15min and managed to install everything with absolutely no problem. Bookmarked!

Nov 19, 2011 at 10:21 pm

Superb info..!!! and i love wordpress..!!!

cabinet stomatologic
Nov 23, 2011 at 7:00 pm

Very helpful tutorial, especially for those who are beginners and want to learn

bumper repairs glasgow
Nov 28, 2011 at 1:46 pm

excellent tutorial. just used it to help with a college course. excellent stuff. thanks for sharing

Dec 14, 2011 at 7:20 am

Gr8t sharing.Today i will implement these .Thank you for sharing..

Kuldeep Bansal
Dec 16, 2011 at 4:05 am

I was reading your article and I would like to appreciate you for making it very simple and understandable. This article gives me a basic idea of how to install and use wordpress article on local system and it will help me a lot.
Check this link too its also having a collection wordpress article which helped to beginner as well as developer.

Thanks for sharing your article with us.

Dec 31, 2011 at 7:49 pm

This is amazing thank you so much for doing this.

But one question, I’d like to get an e-commerce site up on WP using WPEC, do you think I should download the local server XAMPP for my PC?

Is it powerful enough for a e-commerce site?

I’m open to any suggestions, please and thank you!

free wordpress installation
Feb 6, 2012 at 1:13 pm

Really great tutorial.

If this looks too hard for you guys then we can help you out! For free!

Feb 8, 2012 at 6:40 am

very good explaination about wordpress ,thanks alot

Eden Biodome Revolution Review
Feb 21, 2012 at 5:00 pm

Thank you so much, now I’ll be able to test my geodesic greenhouse website locally.

Eden Biodome Revolution Review
Feb 21, 2012 at 5:01 pm

oops – sorry forgot to leave my link –

Feb 23, 2012 at 2:04 am

Very useful blog. I really appreciate it.

Feb 23, 2012 at 11:21 am

Very useful information. I tried your guide while installing wordpress on my blog and it is successful.

Wordpress Wesbite Builder
Feb 24, 2012 at 1:44 pm

You can get this for free!

Mar 1, 2012 at 10:19 am

I am having great difficulty with WAMP install on my win7-64bit…I hope your tutorial is the answer…Thanks for the simple instructions for a “newbie” on WordPress running locally!

Mar 19, 2012 at 3:32 pm

Thanks for the great tutorial.
Everything works fine for me until the actual installation process. So when I go to this address:
http://localhost:8080/magie's site/wp-admin/install.php
It seems like it’s trying to connect with localhost, and after waiting for about 3 minutes all I get is a blank page, instead of the wordpress screen.
Any thoughts that could help?

Mar 20, 2012 at 5:37 am


Mar 21, 2012 at 5:44 am


3 options:

1: did you actually started wamp/xamp?
2: you cant type ‘s in a url so you can try choosing a different map name
3: instead of typing localhost you can try typing's site/wp-admin/install.php

hope it help’s.

have a nice day

Mar 21, 2012 at 5:45 am

ohw forgot to say…. you cant use ‘ in a url and you cant use a space try – instead

Apr 1, 2012 at 4:36 am

Thanks for this. I am new to wordpress. local setup is helpful for learners like me. just did it.

Apr 2, 2012 at 2:06 pm

wow it works !! i can see my site locally . awesome !! now I just have to learn to upload my site to my Godaddy account.. hhmm.. i know how to do this with FTP. but it owuld be cool to do it from withtin Phpmyadmin. or am I missing the point somewhere ?

Apr 21, 2012 at 5:57 am

If you go into your hosting account on GoDaddy you can install WordPress. It’s usually in applications on the right sidebar. It will take you through step by step setting up the database. Once it’s installed you just have to compress your theme and upload it. No FTP necessary. GoDaddy, in my opinion has great customer service so if you need help just call them and they will walk you through the install.

kesha b
Apr 13, 2012 at 1:27 pm

Hello all,

I am waiting for my domain to be transfered, but I would like to staart working on my template.I s there a way to start working on a wordpress design before the website server is pointed?

Apr 21, 2012 at 6:19 am

I am getting a 404 Not Found when I try and do the final install. Using MAMP – http://localhost/iconic/wp-admin/install.php

I’ve also tried with localhost:8888 as stated in the tutorial but that isn’t working either.


Apr 21, 2012 at 6:31 am

Scratch that…Solved the problem!

Jul 17, 2012 at 12:33 am

How did you solve it? I have installed xamp and created a new database. When I have to fill in the database, user and password in the wp-config file I create a password in the MySQL database and then it tells me no access. I also have the problem when I dont set a password then it tells me 404 not found…I am very new to MySQL and would really appreciate some help.


Amit Kumar
Apr 26, 2012 at 5:06 am

I dont know how to proceed after step 4. What do I have to type for local host.? it is showing url not found in this server.

Any one help me….

Basit @ PHP Tutorials
May 1, 2012 at 5:36 am

Very nice tutorial, It helps me alot for installing wordpress. Thanks for writing for us :)

May 2, 2012 at 1:14 pm

Thank you Thank you!! This is organized very nicelyasd

May 4, 2012 at 12:36 pm

Thank you so much for this very clear post. I find that being self taught leaves lots of holes in my theory, and often I read more than I need to get where I want to get. This was so on the money, and I was able to troubleshoot what I did wrong.

Thank you, thank you, thank you,


May 14, 2012 at 3:05 am

Nice Post, i would like to know which one is better, xampp or wamp?? given the fact that my system is a bit slow..

Jun 13, 2012 at 2:29 am

how to insert the theme and banner

Jun 14, 2012 at 2:02 am

I cannot get past step 2.

I get error 2002 when I try to click on myPHPadmin from the MAMP startup page. I’ve got green lights for Apache and SQL, but I cannot even access myPHPadmin. (I do not have any duplicate processes running in activity monitor).

Any ideas on what to do?

pushpa kumari
Jul 4, 2012 at 12:39 am


Islam Muslim
Aug 4, 2012 at 3:29 am

Thank’s for this (Installing WordPress Locally) great tutorial. I was having a hard time with those.

Aug 9, 2012 at 3:45 am

wow thats great method.thx for the article.Thanks for the great tutorial.

Aug 9, 2012 at 5:01 am

thnks for your comment

Aug 9, 2012 at 7:14 am

thanx to help ua to make a bolg

Aug 14, 2012 at 10:33 pm

So I’m using XAMPP and I did everything I was supposed to do but then when I insert http://localhost:8888/mysite/wp-admin/install.php through my web browser (Firefox) it says, “Problem loading page.” I think there may be something wrong with XAMPP but is there anyone that can help me?

Aug 15, 2012 at 8:49 pm

Ellada, try to put just http://localhost/mysite/wp-admin/install.php . Worked here and i’m using xampp too! :)

Aug 17, 2012 at 3:34 pm

I’ve been having the same problem when I entered the url. A page with the following message “Error establishing a database connection” prompted.

However, after tried a bunch of solutions, I managed to get it to work. In the wp-config.php, where you enter the password, I just left nothing between the apostrophes. It works now!

Alquiler yates Ibiza
Aug 18, 2012 at 4:16 am

However, after tried a bunch of solutions, I managed to get it to work. In the wp-config.php, where you enter the password, I just left nothing between the apostrophes.

Wordpress Family
Aug 22, 2012 at 2:12 am

Nice tutorial!

Aug 28, 2012 at 8:12 am


Sep 4, 2012 at 5:23 pm

I have executed 1 to 4 and when I am executing step 5th with command line:


Error establishing a database connection

This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. This could mean your host’s database server is down.

Are you sure you have the correct username and password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running?

If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

Oct 4, 2012 at 8:00 pm

I tried repeatedly…I uninstalled the WAMP and reinstalled it. There was no htdoc folder, but I put the WordPress folder in the www folder….nothing seems to work for me.

I created the wordpress database in phpmyAdmin….but it never asked me to set a password…I’m SOOOOO confused. Help would be appreciated.

Oct 8, 2012 at 10:04 am

Am using WAMP in windows and am unable to run wp-admin/install.php.pls help me on how to go about it at step 5

Oct 8, 2012 at 10:05 am

Am using WAMP in windows and am unable to run wp-admin/install.php on a local pc.please help me on how to go about it at step 5

Nov 22, 2012 at 9:11 am

blah blah blah

Muhammed Athimannil
Nov 23, 2012 at 8:37 pm

I’m gonna start with this.

Thanks a lot :)

krishna manohar
Jan 25, 2017 at 1:07 pm

Good—————I like it

Jan 8, 2019 at 5:16 pm

I had the same problem after renaming the wp-config-sample i changed the name back then it worked

Mark Wonsdrik
May 10, 2019 at 1:04 pm

Is Gutenberg the future for WordPress?

Aigars Silkalns
May 23, 2019 at 1:26 am

It definitely is. Adoption rate is already very high and it just the very beginning.

Post Comment or Questions

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