Support » Installing WordPress » problem with putting wordpress file on the internet

  • have an old website and have developed a new wordpress site 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

Viewing 6 replies - 1 through 6 (of 6 total)
  • You moved the files, that’s one of two major steps. Did you migrate the database?

    thanks for replying. the database is already in the hosting and works with the file
    do I still need to move this somewhere?


    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:

    Codex basically tells you the same thing:

    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

    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!

    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 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! 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘problem with putting wordpress file on the internet’ is closed to new replies.