WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Moving WordPress (38 posts)

  1. ak.singla
    Member
    Posted 1 year ago #

    He was mistakenly using the old site database -- and -- in the wp-config.php

    And, as the user/pass for both db's were same, he couldn't notice that error in the config file.

    Yes, it is quite right that he didn't need to change the db.

  2. Craig
    Member
    Posted 1 year ago #

    I want to give a big thanks to Ankit Singla who just guided me through the process via skype and team viewer. Finally got there by uploading a copy of the sql from the site to the new database, and then using a php search and replace which changed all the reference of the old database.

    Should have worked at this point, but didn't, only to find I still had the old database referenced in my config file from earlier this morning... (i've lost track with how many times i've edited that bleedin thing haha)

    Thanks Ankit

  3. Ipstenu-DH
    DreamHost Rep
    Posted 1 year ago #

    Not a mistake :)

    Same server, same DB server, same database name, same user name, same password. I looked at his server, and I totally get why it sounds weird, but he really was pointing the new domain to the old DB, without changing it. He shouldn't need to make any of those changes.

    We probably could have just pointed the new domain to where the old one was installed, but I don't know if he'll want to recover the old one and use it again :)

  4. ak.singla
    Member
    Posted 1 year ago #

    @ respected Mika -- You're absolutely correct.

    But, he actually started the topic "Moving WordPress" so I went that way .

    But, you've correctly figured out that he just wanted to use a new domain.

  5. Ipstenu-DH
    DreamHost Rep
    Posted 1 year ago #

    Hey so long as he's up and working, I'm happy :) Thank you very much, ak, you rock :D

  6. Craig
    Member
    Posted 1 year ago #

    oh and quick note: how do I remove the references in this post to specific URLs (as I don't want them searchable by Google for obvious reasons, and viewable in relation to the post in the distant future).

  7. esmi
    Forum Moderator
    Posted 1 year ago #

    It is not the general policy to edit or delete forum posts. When a post is made and people contribute answers to an issue, that then becomes part of the community resource for others to benefit from. Deleting posts removes this added value. In extreme circumstances, the moderation team might be persuaded to remove sensitive information but. generally, your best course of action is not to publish anything that you wouldn't want to be public. I'm sorry but this is not an extreme case.

    http://codex.wordpress.org/Forum_Welcome#Deleting_.2F_Editing_Posts

  8. WP Sites - Brad Dalton
    Member
    Posted 1 year ago #

    Just for future reference, there's a free plugin which changes the url's and new server path.

    http://wordpress.org/extend/plugins/wp-migrate-db/

    wp migrate db

    You can use this for migrations to a new server and/or domain

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags