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.

Is it possible to change a site ID?

April 07, 2011 5:23pm

Subscribe [3]
  • #1 / Apr 07, 2011 5:23pm

    ssebner

    39 posts

    Using MSM for the first time, it took a couple of attempts to get a new site created correctly on our development server, and now that new site has a site ID of “4”. (Sites 2 and 3 were deleted.) However, on our production server we got it right the first time, and this new site has a site ID of “2”.

    Is there any way to change one of these site IDs so that they match?

    I guess I could create a couple of dummy sites on production until I get up to “4”, but I’m hoping there is a more elegant solution.

    Thanks!
    Scott

  • #2 / Apr 08, 2011 6:54am

    John Henry Donovan

    12339 posts

    Scott,

    It is a difficult one.

    Mike has a tutorial here for splitting up an MSM site but halfway through discusses the changing of the Site ID which may help you

  • #3 / Apr 08, 2011 2:57pm

    ssebner

    39 posts

    Thanks so much, John- I’m going to give this a spin here in the next few days.

  • #4 / Apr 08, 2011 7:02pm

    Sue Crocker

    26054 posts

    Sounds good. Please do backup your database before attempting anything like this.

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

ExpressionEngine News!

#eecms, #events, #releases