• I changed webhosts, and I also changed my domain name. I created a new wordpress installation in a directory of the same name as my old installation. I then copied in all the info from my old one so I would have the same theme and stuff.

    Then I imported into the new db the old sql backup. Whenever I try to open wp-admin now, it points back to the old site. How do I fix this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Try deleting your cookies. Or, at least the ones related to WP.

    May need to use phpMyAdmin to set the values in the wp-options table for siteurl and home.

    Additional info:
    Moving WordPress

    Thread Starter mrcheevus

    (@mrcheevus)

    I looked at the “Moving WordPress” sheet, and it suggests that I start in the wp-admin. However, I cannot access it. For some reason, as soon as I import the old backup, the wp-admin is forced to my old host, where it says I need to upgrade. The upgrade link also points to my old database.

    Whatever it is in wp-admin that points to the correct database has been overwritten and is not pointing to the new blog. How do I fix this? All I wanted was the friggin archived blog posts. Is there another way to just get the blog posts out of the sql backup without all the references to the old blog locale? Or am I doomed?

    Please try this:

    Use phpMyAdmin to set the values in the wp-options table for siteurl and home.

    siteurl is your WordPress address (URI):

    home is Blog address (URI):

    It is a problem with the cache. I had the same issue and finally figured it out.

    Go to:
    wp-content/cache/

    and search the folder that looks like an md5 string for the url it is pointing to, once you find the files edit them to point to the url you are trying to reach.

    Or just delete wp-content/cache folder completely. It will get recreated.

    Good suggestion prozak!!

    Thread Starter mrcheevus

    (@mrcheevus)

    Thanks guys! I didn’t have a cache folder, but bustin loose in the wp-options table and changing everything I could find with the old domain name in it seems to have done the job.

    Now, to get my old theme working again…

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘wp-admin points to old domain’ is closed to new replies.