problem with putting wordpress file on the internet (7 posts)

  1. rubyrose
    Posted 2 years ago #

    have an old website aplacetojustbe.com.au and have developed a new wordpress site aplacetojustbe.com.au/test on the same host.
    want to delete the old website and use the wordpress site.
    tried deleting the old html files from the host and put in the files from the test folder. cannot get the site to work properly

  2. Jason Jensen
    Posted 2 years ago #

    You moved the files, that's one of two major steps. Did you migrate the database?

  3. rubyrose
    Posted 2 years ago #

    thanks for replying. the database is already in the hosting and works with the file http://www.aplacetojustbe.com.au/test
    do I still need to move this somewhere?

  4. Jason Jensen
    Posted 2 years ago #


    Your database has your links stored at:


    They need to be at:


    You need to get a backup of your database, there are tons of plugins that will do this for you.

    If you have decent hosting, you should be able to set up a new database and user with ALL PRIVILEGES. You will have two databases now. Don't touch your existing one. You will need to search for the old URL in the new database and replace it with the new URL.

    OK, great, you have a second database. Now follow the steps I listed here: http://wordpress.org/support/topic/deploying-to-a-new-host?replies=5

    Codex basically tells you the same thing: http://codex.wordpress.org/Moving_WordPress#When_Your_Domain_Name_or_URLs_Change

  5. rubyrose
    Posted 2 years ago #

    Wow - many thanks. You are obviously correct and the problem is that the site is not linking with the database due to the change in URL. At first sight, altering the database looks a little involved and I will probably seek some assistance.

    Once again sincere thanks.

    Charles Todd

  6. Jason Jensen
    Posted 2 years ago #

    You're welcome! Yes, your first database migration can be tricky. However, if you have a backup, you have nothing to lose by trying it out. Once you've done it a few times, the relationship between the site files and the database will make more sense. I'm sure if you ask around, you can find someone who knows how to help you with the process.

    Best of luck!

  7. 2ninerniner2
    Posted 2 years ago #

    A bit of clarification in terminology. There is no "migration" of the database; migration implies moving. In this case, the database stays put :)

    What is required is a search and replace of the database to update the links stored within.

    The popular plugin http://wordpress.org/plugins/velvet-blues-update-urls/ works for most links. However, links may also be stored within the database using serialized strings, which this plugin does not handle.

    This popular script will handle the serialized strings:

    As mentioned earlier, read the instructions very carefully and make sure you have a BACKUP of the database FIRST! :)

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.