WordPress.org

Forums

[resolved] Changing domains on a local host install, not loading imagines (11 posts)

  1. Jack
    Member
    Posted 3 years ago #

    Just switch domains (changing a primary domain to one of the subdomains) on this self-hosted wp site and I re-connected the database in the phpadmin, but not all the design elements are loading correctly even though everything is the right root folder. It might be trying to read something in the main folder since it used to be the primary domain, but I'm not sure. Can someone tell me what's going on, or redirect me to a support tutorial? Thanks!

  2. loughcorrib
    Member
    Posted 3 years ago #

    Check out codex "moving wordpress"

  3. Jack
    Member
    Posted 3 years ago #

    Thanks, I've been reading it and following the suggestions, but part of it isn't working correctly. You can tell it's accessing the files because part of it shows up but some of the formatting is off. I don't know if it makes a difference but, I didn't switch servers and I don't want the URL to change or anything, but I remapped the domain so that there's a different primary domain. But the WP install's folder is still there. So some of it is still trying to find stuff in the root folder and some of it is looking in the wp install folder...

  4. Jack
    Member
    Posted 3 years ago #

    Like....Is the a way to change the bloginfo reference without loging into wp-admin? http://codex.wordpress.org/Function_Reference/bloginfo

  5. Jack
    Member
    Posted 3 years ago #

    I've tried changing the wp-config file but doesn't seem to be changing what's getting referenced. I can see in the code that it's still looking for images and the stylesheet from the old location. Any advice?

  6. loughcorrib
    Member
    Posted 2 years ago #

    I remapped the domain so that there's a different primary domain. But the WP install's folder is still there.

    Can you elaborate on above ?
    Are all your wp files/folders at the same location ?

  7. Jack
    Member
    Posted 2 years ago #

    Well they're in the same folder, but looking at the source URL I realized it did change from oldprimary.com/wpfiles to newprimary.com/wpfiles. I don't know how to fix it. I'm tempted to try an entire new install wordpress, but I'm not sure if it will transfer correctly still. I finally logged into the site and realized that my client is still running on WordPress 2.0.4. Any advise would be really welcome!

  8. loughcorrib
    Member
    Posted 2 years ago #

    You will need to update wp to current 3.4.1 Clear all including DB and do a fresh install with new DB
    Disable or better remove plugins and refer back to the link move wp

  9. Jack
    Member
    Posted 2 years ago #

    Thanks so much. I'm not a huge coder, so I can I clarify? I should make a new database and a fresh install of wordpress. But I don't want to loose all the data on my old blog. I'm a little worried because I can't find a way to download my entire install via the 2.0 interface (as the codex suggests) but I have back up the database and wp files via the ftp and phpadmin.

    Do you think I should do an update first and then move it? or move it first and then update or...?

    Thanks so so so so so much for you help!

  10. loughcorrib
    Member
    Posted 2 years ago #

    SCRATCH PREVIOUS
    I must have been asleep.
    Lets start afresh. As you see when you move urls/files/folders etc will have new extensions. Therefore,
    Is there an old wp at new site and your trying to load your site to this.
    If so remove it
    Check your site is on current version. If not update first.
    Disable plugins
    Are you using a default theme i.e. 2011
    Also I believe there may be a plugin to assist with this
    Plugins
    Reread move wp.
    Hope this is of assistance

  11. Jack
    Member
    Posted 2 years ago #

    I ended up getting it to work using by manually 'search and replacing' in phpmyadmin and going through some of the template files and updating the links. Not the much fun, but I talked with my client and they couldn't update there wordpress version at this time. Thanks so much for your insight. I truly appreciate it.

    Some other bugs have come up...but I'll ask in another thread.

Topic Closed

This topic has been closed to new replies.

About this Topic