ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Rename old domain in transferred website

September 05, 2008 1:21pm

Subscribe [2]
  • #1 / Sep 05, 2008 1:21pm

    Jared Farrish

    575 posts

    I have moved an EE site from one domain to another (say, ee.example.com to http://www.mysite.com).

    This was a homebrew move, so what I essentially did was install on http://www.mysite.com and then copy over the database tables I felt had important information, like categories and fields and whatnot.

    Everything seems to work fine now, except one thing: When I create a new weblog, it is still using the old domain when it creates the weblog preferences.

    For example, under CP Home ›  Admin ›  System Preferences ›  General Configuration, I see the old “http://ee.example.com” under the following:

    URL root
    URL control panel
    URL themes

    I’ve looked all over and cannot seem to find the reference to the old ee.example.com that EE is using to put the data into the fields when I create a new weblog.

    Any ideas, warmly appreciated.

    Thanks!
    Jared

  • #2 / Sep 05, 2008 1:28pm

    Jared Farrish

    575 posts

    Nevermind. I just made a test weblog to see if I could find the method and the new weblog works fine now!

    😊

  • #3 / Sep 06, 2008 3:09pm

    grrramps

    2219 posts

    Jared,

    I’ve had good success moving EE sites from one server to another. Many times. Usually I just copy up EE’s files to the new server/host, export the database from the old site, import it to the new site, and modify the config.php files accordingly (sometimes there’s image files that need to move, too). For URL strings I use EE’s Admin/Utilities/Find and Replace. It gives rather pinpoint control as to where the Find and Replace occurs; content, templates, preferences, etc.

  • #4 / Sep 06, 2008 4:08pm

    Jared Farrish

    575 posts

    Well, I think I was having a crisis of unicode; if I dumped the whole database, anything that was serialized got whacked.

    I didn’t realize about the Find and Replace function, though. That’s a good tip; thnaks!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases