• I copied my database and all WP-folders to a test area on my provider’s server. When I try to login as admin using the usual blogname/wp-admin URL, it logs into the blog I copied from, not into the supposed test blog. Is there some config file that I have to change to point to the correct site ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • since the home url and siteurl values (those are the values you need to adjust) are stored in the database you need to use a different set of tables for that second blog.

    You cannot just install multiple copies like that, it doesnt work. (as youve seen)

    The stuff you need to change is inside wp-config.php

    Review this:

    https://codex.www.ads-software.com/Installing_Multiple_Blogs

    Thread Starter jolato

    (@jolato)

    Yes, but I think I set it up that way, see wp-config below and of course I copied all folders from source to “test”, after deleting all files of “test” first:

    TEST
    define(‘DB_NAME’, ‘patrizia_wrdp1’); // database
    define(‘DB_USER’, ‘patrizia_wrdp1’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘***’); // …and password

    SOURCE
    define(‘DB_NAME’, ‘patrizia_wrdp3’); // database
    define(‘DB_USER’, ‘patrizia_wrdp3’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘j6cM4zBu225i’); // …and password

    Thread Starter jolato

    (@jolato)

    … except for the wp-condig file which I did NOT overwrite

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp-admin help’ is closed to new replies.