WordPress.org

Ready to get started?Download WordPress

Forums

Subdomain wp-login.php page resolving to a client's completely separate site (8 posts)

  1. AnnieSisk
    Member
    Posted 2 years ago #

    In an effort to extract blog posts from a defunct older blog for a client, I set up a fresh install of WordPress 3.2.1 on a new subdomain on my own site - dev.anniesisk.com. So the login should be http://dev.anniesisk.com/wp-login.php.

    I kept waiting for the new subdomain to propagate last night, but for some reason, it keeps resolving to the client's login page. It's still doing that today.

    We both have the same hosting company but are on completely different servers and accounts.

    I'm at a loss - I've cleared the cache, and I don't understand why it would redirect like that, when I haven't redirected anything. I have signed in and out of each HG Cpanel (his and mine), to make sure I'm not somehow contaminating this procedure.

    Any suggestions?

    EDITED TO ADD: I've confirmed in File Manager that the WP install is showing up in the dev folder for anniesisk.com.

    Also, I tried loading the login page on a different browser - same result.

    Edit #2: I found in the dev.anniesisk.com directory that I had both a wp-config-sample and wp-config file. Checked both - the config-sample had the sample code, the wp-config had the correct MySQL info. I downloaded both as backup and deleted the wp-config-sample file, cleared cache and tried again - same result, no change.

  2. shirazdrum
    Member
    Posted 2 years ago #

    Annie, your dev site is not correctly setup, check the sub-domain setting to make sure everything is good. call your host in the mean time.

    As for extracting posts and pages, just export everything as an xml fie and you can move it anywhere you like, no need to set up a separate site to do that.

  3. AnnieSisk
    Member
    Posted 2 years ago #

    I set it up correctly. I'm not sure what happened and I don't have time to futz with it more, so I deleted it and am now trying to solve this mess with a local install.

    As for extracting - well, yes, that was why I asked the earlier question (different thread). The only response I got from a mod was to set up a localhost site (see above). SO my question is - HOW do you export the sql to an xml file?

  4. shirazdrum
    Member
    Posted 2 years ago #

    Annie,

    Sorry if people are confusing you. On the old WordPress site, go to dashboard, tools, export. Export for WordPress (all content). When you need to import this to the new site, go to the same place and instead of export choose import from WordPress. It gives you the option to import images as well if there are any. That's all.

    Cheers,

    Chris

  5. AnnieSisk
    Member
    Posted 2 years ago #

    Sorry, this misunderstanding was my fault - the reason exporting is out of the question is because the old site is dead. I'm rebuilding it on a new server but the only thing I have is the backup SQL file. :)

    Ergo - no exporting for me, unless I can manage to get this freaking localhost issue resolved now. I've given up on the dev. site.

  6. shirazdrum
    Member
    Posted 2 years ago #

    In that case, if you have a copy of the databse, username, and password, you can just edit the config file to pint to this database. Then you can export everything.

  7. AnnieSisk
    Member
    Posted 2 years ago #

    How do I do that? Not a coder but not afraid to try it. Just don't know what the line edit looks like.

  8. AnnieSisk
    Member
    Posted 2 years ago #

    Update: I fixed the localhost install problem, so will go at it this way. Thank you so much for your help, shirazdrum!

Topic Closed

This topic has been closed to new replies.

About this Topic