In 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.
To open your domain file in 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 com.apple.iWeb iWebDefaultsDocumentPath -boolean no"
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 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.
Thanks Roddy for that reply. I had seen that page before but had not tried everything mentioned. I did delete the preference file and repair permissions, to no effect. What seemed to work was their suggestion for "jump starting" iWeb by downloading the blank Domain.sites2 file (from 2008) and creating a quick test site. After saving and closing iWeb I was able to open the file with the erratic behavior with no problems.
Thanks Old Toad, I'm not quite comfortable using terminal app but I did read that you could make the Library folder visible by option clicking on the Go menu. Glad to know that. I had already downloaded Domain Cracker, which seems to do the same as the script by Cyclosaurus. Anyway, it works great and I am now able to open all my domain files with no problems.
To say the least I am not very happy with Apple for what they have done with iWeb. It is such a great program and really able to do so much for those of us who are not IT specialists and just want to make a web site. If they are not going to upgrade it I wish they would stop breaking things. It has taken days of head scratching and hair pulling to get this sorted out. I am so tired of all this trouble shooting just to get things to work. This is why I delayed upgrading to Lion for so long. End of rant.
Thank you all so much for your help.
It is the same script. I just named it iWEb Switch Domain and Roddy Domain Cracker. That terminal script is quite easy to do, copy and past the command into the terminal window and click on the Return button. Once the library is visible you can drag it into the Finder's left hand pane so it always easily accessed.