Localhost Mamp Wordpress



  • I installed WordPress on my Mac Pro using MAMP and following all instructions to the letter. Immediately after installing, I was able to access the WP dashboard and install a theme. I logged out and quit MAMP. Now I am not able to access the dashboard.

    I launch MAMP and click “Start Servers” and it takes me to <http://localhost:8888/MAMP/index.php?language=English&gt;
    in the web browser (Safari 11.1.1). On that page, I click on “My Website” and it takes me to the home page of my website. No dashboard.

    What do I need to do to get to the WP dashboard and start building my website? I suspect that the answer is something simple and obvious, but I can’t find it in any of the documentation.

    The page I need help with: [log in to see the link]

Import your WordPress files and database to local server. After downloading your WordPress files, you need to create a folder on your local server where you want to import the local site. If you are using WAMP then you would want to create a folder inside C: wamp www folder for your local site. This tutorial is a solution on how to solve the 'error to establish a database connection' when installing Wordpress locally in a MAMP environment.

  • Hey @goody2skis,

    From what I can understand initially here, you are looking for the wp-admin area of your site, where you can log in and create pages and posts etc. Is this correct?

    If it is and by “takes me to the home page of my website” you mean you see your blank WordPress website’s homepage, then you _should_ be able to visit dashboard area by appending /wp-admin to your homepage URL or by removing the index.php and replacing the URL with wp-login.php.

    _Note this is without knowing your local MAMP file paths and/or hostname setups_

    Lastly, if this doesn’t help can you please share more information on where your sites are stored in MAMP (e.g. file paths) and any screenshots of your homepage and URLs you’re attempting to visit would be great.

    Glad to hear it @goody2skis and you’re very welcome.

    So yes I does sound like the actual site files would be located here:
    Applications > MAMP > htdocs > wordpresstest (this will be your site root where the WordPress core files live)

    If you dig deeper into the wp-content folder there you will have access to whats typically the files related to your site, with the themes and plugins etc.

    One thing I think you may benefit from (if you’re new to local development or WordPress it’s self?) is to maybe use a more friendly local development environment. I personally use Local by Flywheel as it is much simpler to get a local site setup and running than the likes of MAMP.

    Let me know if you need anything further buddy.

    All the best,
    Chris 🙂

    I had the exact same problem. This was extremely helpful. Thank you so much!

    After a long struggle I downloaded wordpress using MAMP but now whenever MAMP isn’t up and running I cannot access my wordpress blog to edit, MAMP also says the demo will be running out, how do I keep my site up and running? I think I am just confused as to how wordpress.org is even run through MAMP, feel like there has to be an easier way. Thanks in advance!!

    I’ve upgraded mamp from a version with php5 to php7 so i could migrated my site to live server. After the upgrade i can access the site – it all looks fine and I can see the top line of the dashboard, but when I login I get a blank page? Can someone advise?

    thanks you

  • The topic ‘Cannot access WordPress dashboard for local WP install (MAMP)’ is closed to new replies.

Any sort of WordPress development – testing themes and plugins, creating themes and plugins, etc. – can be done on your own computer. Why would you want to do this? You’ll find the process much quicker and it’ll stop you going crazy waiting for files to upload to the server.

Getting WordPress installed on your own computer, as if your computer was a webhost’s server, is easy on a Mac with MAMP. If you are on a Windows PC you can use XAMPP.

Setting up MAMP and installing WordPress

The following video shows you how to install WordPress on your Mac using MAMP. This can be done in 5 minutes.

First of all you should download and set up MAMP. MAMP is a acronym that stands for the stack of software it uses:

  • M is for Mac OS X, your operating system
  • A is for Apache, the web server
  • M is for MySQL the database management system (or database server)
  • P is for PHP (or Perl or Python) the programming languages used for web development

Now that you have all this MAMP goodness installed on your machine, everything that you put in the folder Applications/MAMP/htdocs/ ends up on your localhost “website” which you can access through a browser at http://localhost:8888.

Next you should download the most recent version of WordPress (how many times have we all done that?) After unzipping, place the /wordpress/ folder inside your /htdocs/ folder.

Localhost Mamp Wordpress Download

Now you need to create a database:

  1. Go to http://localhost:8888/MAMP/
  2. Click the PHPMyAdmin tab along the top
  3. Click Databases in the second line of tabs in blue
  4. Type a name for your database (no spaces or special characters) and remember it
  5. Click Create

Having created the database you are nearly ready to install WordPress! Go to http://localhost:8888/wordpress in your browser.

With any luck, you’ll be greeted with a screen saying, “There doesn’t seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn’t work for all server setups. The safest way is to manually create the file.” Ignore it and click “Create a Configuration File”.

You’ll then see a screen checking that you have the 5 bits of info you’ll need to configure WordPress. You have them. Click “Let’s Go!”.

As you can see above you only need to change the top 3 fields to connect to your database:

Mamp
  1. Your database name (the one you created in PHPMyAdmin and you remembered it, right?)
  2. A username. Use “root”.
  3. A password. Use “root”.
Localhost Mamp Wordpress

The remaining two you can leave as “localhost” and “wp_”.

Click “Submit”. You’ll then be taken to another screen and referred to as “Sparky”. Click “Run the Install”.

Finally, you’ll be presented with a screen where you can enter the name of the site, the username and password, etc. Then, click “Install WordPress” and you’re done. You’ll be taken to the WordPress administration dashboard at http://localhost:8888/wordpress/wp-admin. Phew!

Installing multiple versions of WordPress on your Mac

This process can be repeated again and again.

The above video shows you how to install another WordPress site on your localhost so you can have multiple WordPress installs to play around with.

Run Wordpress On Localhost

All you have to do is to create another database using PHPMyAdmin, download WordPress and run through the above installing process again.

Localhost Mamp Wordpress Sign In

You can do it

Wordpress Localhost Xampp

If you create multiple WordPress sites both for your clients and yourself, it’s really essential to develop locally first before you create the site on a web host. Having multiple local WordPress installs will speed up your development time.





Comments are closed.