Nested Sites in iWeb
Nested Sites in iWeb
Create 4 Sites.
The top Country Site is your Welcome Site.
Create as many State pages as needed in the Country Site.
In each State Site create a Home page, a Intro page and 1 or more City pages. In that order.
The State pages in the Country Site are placeholders to create the link at the top of the Intro page.
The Home page in each State Site is also a placeholder.
Publish to dotMac or to a folder. Perhaps to a folder first, to practice.
In each Country & State folder, open the feed.xml file.
Use Taco HTML to edit the file. It has a command (cmd-control-o (oh)) to organize the tags to make it easy to read. See image below.
In the Country feed.xml file change the lines:
<link rel="alternate" href="California.html"/> to <link rel="alternate" href="../California/"/>
<link rel="alternate" href="Florida.html"/> to <link rel="alternate" href="../Florida/"/>
<link rel="alternate" href="New_York.html"/> to <link rel="alternate" href="../New_York/"/>
In each States feed.xml file change the line:
<link rel="alternate" href="Home.html"/> to <link rel="alternate" href="../Country/"/>
To direct to the correct Intro page, in each State folder open the index.html file.
Change Home.html to Intro.html (or whatever you named the first page)
Advanced
To make the Country Site more appealing, drag the States folders in the Country folder. You have to adjust the Home URL.
In the Country feed.xml file change the line:
<link rel="alternate" href="California.html"/> to <link rel="alternate" href="California/"/>
<link rel="alternate" href="Florida.html"/> to <link rel="alternate" href="Florida/"/>
<link rel="alternate" href="New_York.html"/> to <link rel="alternate" href="New_York/"/>
Note that ../ is removed!
In each States feed.xml file change the line:
<link rel="alternate" href="Home.html"/> to <link rel="alternate" href="../index.html"/>
Adding links to Navigation bar
To add custom links to the navigation bar you have to edit the feed.xml file again.
Open the feed.xml file and copy an entry as below.
Paste the code at any position you like.
In each entry you see a large number: 4E5B00DB-E0CD-478D-B3CA-46DB0B9D78A6.
It’s an unique ID that corresponds to the ID of the page. This number must be changed otherwise the link won’t work.
To generate the number, open Terminal.app and typ : uuidgen (video)
Hit return and copy the number and paste it 2 times in the entry. Remove the space on the left and right of the number if they appear.

In this demo the State Sites folder are IN the Country Site folder. I also added a Home link to my default Homepage in the root of the webserver. All feed.xml files are adjusted accordingly.
Practice.
Disclaimer
As you add more features to a page, the links of each feature may have to be adjusted too.
Also, when you edit and publish your iWeb pages again, you may overwrite the manually edited changes.