Title: MAMP install (changing document root)
Last modified: August 19, 2016

---

# MAMP install (changing document root)

 *  [caughtredhanded](https://wordpress.org/support/users/caughtredhanded/)
 * (@caughtredhanded)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/mamp-install-changing-document-root/)
 * I currently self-host my WP blog. I have recently installed MAMP so that I can
   work on my blog offline and then upload to server. Great. I followed a tutorial
   that I found which covered off the best way to get my hosted version of my blog
   onto MAMP. It worked great.
 * Since then though I have decided to change the document root of my localhost 
   so that other uses of my Mac can’t accidentally delete my files (as with the 
   default settings localhost is available through Applications).
 * I shifted my WP files to the new root, however when I now try to load localhost
   I get an ‘index of’ page rather than my blog, telling me to install WP. I suspect
   that something in the mySQL database needs updating but I can’t seem to work 
   it out.
 * Any ideas?

Viewing 1 replies (of 1 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/mamp-install-changing-document-root/#post-1487870)
 * I’m not entirely familiar with local installations, but you may have to change
   the URL values in the database since you moved the files.
 * [http://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database](http://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database)

Viewing 1 replies (of 1 total)

The topic ‘MAMP install (changing document root)’ is closed to new replies.

## Tags

 * [change](https://wordpress.org/support/topic-tag/change/)
 * [document root](https://wordpress.org/support/topic-tag/document-root/)
 * [MAMP](https://wordpress.org/support/topic-tag/mamp/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 1 reply
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/mamp-install-changing-document-root/#post-1487870)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
