WordPress.org

Ready to get started?Download WordPress

Forums

MAMP install (changing document root) (2 posts)

  1. caughtredhanded
    Member
    Posted 4 years ago #

    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?

  2. 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

Topic Closed

This topic has been closed to new replies.

About this Topic