Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

I have three websites in one file. How do I separate them into three individual files?

I have three websites in one file (Domain.Sites2). How do I separate them into three individual files without taking the site down or loosing files?

iWeb '08, OS X Mountain Lion (10.8.2)

Posted on Nov 17, 2012 10:51 AM

Reply
3 replies

Nov 17, 2012 11:42 AM in response to Chief302

Duplicate the domain file 3 times (keeping the orignal as a backup). Name each domain file for the website you want it to contain. Then open each domain file and delete the two sites you don't want it it.


Since you're running Mt. Lion you'll need to read the following in order to be able to open the different domain files.


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 com.apple.iWeb 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.



OT

Nov 17, 2012 3:33 PM in response to Chief302

See this page for the location of the Domain.sites2 file...


http://www.iwebformusicians.com/iWeb/iWeb-Tips.html


... and this page for how to access the user library and open separate Domain files when running Lion/Mountain Lion without having to go into Terminal...


http://www.iwebformusicians.com/iWeb/mountain-lion.html


Splitting the Domain file is as OT has described except the files retain the Domain.sites2 name and are placed in separate folders - each with the name of the website. These folders can be dragged into a master folder - "iWeb" - and this can reside in your Home folder so that it is visible all the time.

I have three websites in one file. How do I separate them into three individual files?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.