Previous 1 2 Next 16 Replies Latest reply: Dec 4, 2012 4:03 PM by Old Toad
air_7up Level 1 (0 points)


I manage a few different websites with iweb (and the help of iwebdrop).

Each website has a separate domain file, these domain files have unique names and are saved in different locations.

But I have the following problem: every time I open a website, iWeb opens several of my other websites at the same time. One doesn`t notice this immediately, but if you check under iweb/window - you will see that several sessions are open.

My question is: Is there any way to avoid this?

- I work on a Macbook Pro iOS 10.7.5

- all my domain files have different names and are saved in separate locations

- I open the website file (domain file) by dragging the file onto the iwebdrop-icon

Any help would be appreciated,

best regards, Volker

MBP 17, Mac OS X (10.3.x)
  • Joe Gramm Level 5 (6,340 points)

    You could probably manage the Domains just as easily with Roddy's DomainCracker

  • air_7up Level 1 (0 points)

    Thank you, Joe - but I was using a similar solution before:

    It created the same interface using the scribt editor, see below. But it had the same problem (always opened multuiple files...)


    do shell script "/usr/bin/defaults write iWebDefaultsDocumentPath -boolean no"

    delay 1

    tell application "iWeb" to activate

  • Joe Gramm Level 5 (6,340 points)


    I'm sure one of the iWeb Forum top participants will step in and help. I'm not familiar with iwebdrop so I better quit here.

  • Old Toad Level 10 (135,388 points)

    Try deleting the iWeb preference file and the preference file for the application you use to open iWeb and select a different domain file.  Both will be located in your Home/Library/Preferences folder.


    But remember:


    In Lion and Mountain Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.


    Once it's visible it is an easy task to locate and delete those two preference files.  The preference file will be the same name as what you named the script if you made it an application. 


    In case there is some difference in your code and Roddy's or the one I create which you can download with this link:  iWeb Switch Domain. 





  • air_7up Level 1 (0 points)

    Many thx, Old Toad!

    finding and accessing the library is not a problem,

    but I was unable to find a preference file for iWebdrop.

    Also not sure if this is the correct one for iWeb? ""

    If I locate the right files - is the process you are describing a "one-time" fix or do I have to repeat this after each session?

    I just backed-up and deleted the iWeb pref file and iWeb still openend three different domain files / websites (in separate windows)...

    regards, Volker

  • Old Toad Level 10 (135,388 points)

    My mistake. It's a script so no pref file. is the correct file to delete.  It should be a one time fix.  The script changes some feature of the document path in the preference file and lets you choose a new domain file to open.  Hopefully creating a new preference file will let the script work as intended. 

  • air_7up Level 1 (0 points)

    yes - it seems to be working and really appears to be a "one time only" fix!

    many thx!

  • Marion Dobbs Level 2 (175 points)

    I am in big trouble, but I know I  can count on you, Old Toad. I am using iWeb to manage two sites, but now when I open the application, neither of them appear. Instead an old site I no longer use opens. When I try to go to a backup copy of one of the sites - even one on an external drive - the same old site opens. I've tried looking for .sites2 files, but same problem. I kept opening them and every time I did that and them closed iWeb, it saved the wrong file, so now no matter where I am, the old domain opens. I had an app called "Muliple Domain Web," and using that didn't help. I now have your "IWeb Switch Domain," and have found an old copy that opens correctly. However, I've managed to do this twice before and iWeb soon shut down with and error message. I don't trust this one to last either and think I should delete I have opened the terminal window, but don't know if I should type the command in overlaying what already appears there (Last login info and my name and machine or after that. If I delete the .plist, how will iWeb know what to open in future?


  • Old Toad Level 10 (135,388 points)

    Are you running Lion or Mt. Lion?  If so read the following:


    In Lion and Mountain Lion the Home/Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.


    To open your domain file in Lion or Mountain Lion or to switch between multiple domain files Cyclosaurus has provided us with the following script that you can make into an Applescript application with Script Editor. Open Script Editor, copy and paste the script below into Script Editor's window and save as an application.

    do shell script "/usr/bin/defaults write iWebDefaultsDocumentPath -boolean no"

    delay 1

    tell application "iWeb" to activate


    You can download an already compiled version with this link: iWeb Switch Domain.


    Just launch the application, find and select the domain file in your Home/Library/Application Support/iWeb folder that you want to open and it will open with iWeb. It modifies the iWeb preference file each time it's launched so one can switch between domain files.

    WARNING: iWeb Switch Domain will overwrite an existing Domain.sites2 file if you select to create a new domain in the same folder.  So rename your domain files once they've been created to something other than the default name.

  • Marion Dobbs Level 2 (175 points)

    I got this much from the previous discussion, thanks very much! But my bottom line question was whether or not I should overwrite the text that appears in the terminal window when I open it, or should I enter the

    chflags nohidden ~/Library

    text below the existing text so as not to erase it. I am VERY ignorant.

  • Old Toad Level 10 (135,388 points)

    The Terminal window will look like this when you first open it except with your user name:



    Copy the chflags nohidden ~/Library and paste into the window and you'll get




    Then use the Return key.  There is no overwriting of text involved.

  • Marion Dobbs Level 2 (175 points)

    Thank you again and again. This worked briefly. Here's the problem now as I see it. Somehow the correct website is on a portable external drive. The old domain file that I'd like to jettison is the one in Home/Library/Application Support/iWeb folder on my computer.


    What happens if I delete that and replace with the file on the external drive? The earth will be drawn into the sun? Or can I just copy the file from the external drive into the Home/Library/Application Support/iWeb folder alongside the old file and then pick one to open with iWeb Switch Domain?


    Right now, when I double click on the external drive domain file, both the old and the new domains open. I'm very frightened of destroying the good one.

  • Old Toad Level 10 (135,388 points)

    That would be fine.  Delete the existing domain file in the iWeb folder that you don't want and move the one you want to keep into the your Users/Home/Library/Application Support/iWeb folder. 

  • Marion Dobbs Level 2 (175 points)

    This didn't work quite as one might hope. I put the preferred domain file into the appropriate folder, but opening iWeb just opened a new clean slate site. So, I used iWeb Switch Domain to go to the backup copy on th external hard drive. The correct site opened, but somehow all the paths to images weren't functional. The good news is that I just reloaded the images, and everything is good now.

    It must be a heavy burden for you carrying all that knowledge around in your head and all that generosity in your heart!

    Thanks again.

Previous 1 2 Next