Forums

[resolved] Moved site from online to MAMP...what settings am I missing? (5 posts)

  1. MikeTheVike
    Member
    Posted 2 years ago #

    I moved my site and backed up the database to transfer it to a local install using MAMP so I can test out some plugins without screwing up the live site. I copied the files, created a new database in phpMyAdmin and imported in my .sql file. When I browse to the local url "http://localhost:8888/site" it gives me a page not found error. When I look at the url it is "http://www.mysite.com/site" so it keeps redirecting to the online site. I must be missing a setting in some config file. Any ideas? Any lnks to tutorials that might go into detail how to do all of this?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    See http://codex.wordpress.org/Changing_The_Site_URL for changing the url of your local install only.

  3. MikeTheVike
    Member
    Posted 2 years ago #

    Thank you esmi, I fixed that problem and posted about another regarding relative links.

  4. salli
    Member
    Posted 2 years ago #

    MikeTheVike, can you tell me how you fixed it?
    I have the exact same problem.

    http://localhost:8888/ doesn't work. (It does for my other 2 local blogs)
    http://localhost:8888/wp-login.php works, but when I enter user and password and push the login button it redirects to http://mysite.com/wp-admin/

    I read http://codex.wordpress.org/Changing_The_Site_URL but it confused me even more. Hope you can help or link me to any tutorial you know of.

    Thanks!

  5. salli
    Member
    Posted 2 years ago #

    Man, I did it. It FINALLY works, I can't believe it! 03:50 am though...

    Option 4. Changing the URL directly in the database on http://codex.wordpress.org/Changing_The_Site_URL worked for me. Tricky job, but so far so good it's working.

Topic Closed

This topic has been closed to new replies.

About this Topic