WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] MIgration from localhost failure (6 posts)

  1. dausin
    Member
    Posted 2 years ago #

    I tried to migrate my site from localhost to godaddy server. Yikes! A total mess. Although I have my site backed-up, all links from the localhost home page direct to the new url, including the dashboard so I can't get in there to start migration from scratch.

    --backedup copy of my site, with exception of home, all links direct to new URL
    --the uploads file on the server is almost empty, but most photos are viewable on posts with the exception of featured images in a post grid
    --where are the images being drawn from (I tried shutting down MAMP server on local host in case it was directing back to my machine)

    My question is what to do now:
    --to either restore my localhost so I can try again
    --or get the server site working correctly.

    url: darcysinclair.com

    Good way to learn a lot, if sort of painful!

  2. jbusci
    Member
    Posted 2 years ago #

    eessh...

    is your localhost pointing at the hosted db? why not edit your local wp-config file and point back at your local db?

  3. dausin
    Member
    Posted 2 years ago #

    this is what is so weird . . . as far as I can tell it still has all the "localhost" and "root"

    I've done a search in Dreamweaver of all the files for the url and it doesn't find any

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    That's because the urls are stored in your database. I'd suggest reviewing Moving_WordPress.

  5. dausin
    Member
    Posted 2 years ago #

    Thanks. I'm mid process and have obviously made grave error. I would very much like to get to a place where I could retract and then move forward by following the check list in the Moving_WordPress documentation you suggest.

    Is there a way to change or find/replace in all database files to delete "localhost" and put in my new url? Since I don't know what I'm doing I'm not sure making blanket search and replace is good idea.

  6. esmi
    Forum Moderator
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic