WordPress.org

Ready to get started?Download WordPress

Forums

move wordpress (5 posts)

  1. sumonstc
    Member
    Posted 11 months ago #

    After i move my wordpress site to another domain and wordpress. i have copied all files and folder and database. I after restored site cloud not found old media files and links to old domain please give me solutions. I i change the theme urls working fine. Here is the link http://freelance-bird.com/

  2. vtxyzzy
    Member
    Posted 11 months ago #

    You probably have a lot of serialized URLs and paths in your database that still refer to the old site. You can use Search And Replace For WordPress Databases to find and replace them.

    BE SURE to back up the database before trying this.

  3. If you install WP-CLI it's as easy as running:

    wp search-replace 'http://example.com' 'http://new-example.com'

    http://wp-cli.org/commands/search-replace/

  4. wpismypuppet
    Member
    Posted 11 months ago #

    Actually "Search and Replace" offered by vtxyzzy is ridiculously easy and we use it on almost a daily basis when we move a testing environment over to production.

    You download the file from the website, upload it to the root folder using any FTP program, and access it by typing http://www.domain.com/searchreplacedb2.php (of course replace domain.com with your actual domain). Then you follow the wizard, which is basically click, click, click then type in the string you want to find and the string you want to replace.

    WP-CLI requires a Linux environment... what if the user has a Windows one? I know... I shudder just thinking about that myself... but it's possible!

    At any rate, I wrote up a whole instructional on "How to migrate a WordPress installation to another domain". It's a bit lengthy, but that's only because of the detailed instructions so people know what's going on behind the scenes. If you look at the core of what's happening, it's really basic and super easy.

  5. Nice :)

Reply

You must log in to post.

About this Topic