• How to import a database and assign it to a blog with wp-config.php?
    Here is the problem :

    1.I had already 2 blogs with many posts on wordpress
    2.I recently switched the hosting provider to bluehost
    3.I downloaded my databases prior to switching hosting provider.
    4.I cannot upload, set and configure the old databases to the blogs so as to have their old content.
    Overall do not know how to transfer from the start my blog to another provider.Now my blogs with many posts appear to be new with no posts!

    Many thanks for the detailed steps and help!

Viewing 1 replies (of 1 total)
  • Might be as simple as setting the correct value for $table_prefix in your wp-config.php. For example, using phpMyAdmin look at your database and look for the posts table. If the posts table is called wp123_posts then in your wp-config.php set $table_prefix = 'wp123_'

    Related:
    Moving WordPress

Viewing 1 replies (of 1 total)
  • The topic ‘How to import a database and assign it to a blog with wp-config.php’ is closed to new replies.