Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

change the home page of a multilanguage site

I have published a site with CityDesk in two languages, but I can't manage to change the default multilanguage index page that appears on the screen.
When the site was written only in English I edited the Index.html in order to make the preview start with my home page. How can I do this when using two or more languages? CityDesk creates an additional index.htlm linked to the different languages that I am not able to open.
Thanks!

camilla bonati
Tuesday, May 14, 2002

I think this post will help you:

http://discuss.fogcreek.com/CityDesk/default.asp?cmd=show&ixPost=2490&ixReplies=2

Customer Service
Tuesday, May 14, 2002

Well, I read the answers and I must confess that I couldn't find the way to control what's happening in my site's root using different publish locations. Could you please give me a tip?
I have no experience at all but I found Citydesk great -I made a 98 pages bilingual site in three days!-  except for this last feature that is driving me crazy!
thank you.

camilla bonati
Wednesday, May 15, 2002

Camilla, I would suggest publishing your multiple languages under a subdirectory "x".
For example

http://foo.it/x/English
http://foo.it/x/Italian

That way CityDesk will put it's annoying "index.html" file into the x subdirectory, and you can manually create a home page at foo.it.

So you get

http://foo.it/index.html <- a page you create manually, or from a different CityDesk site
http://foo.it/x/index.html <- CityDesk's silly file pointing to Italian and English, which nobody will ever see
http://foo.it/x/English/* <- the English site
http://foo.it/x/Italian/* <- the Italian site

Joel Spolsky
Wednesday, May 15, 2002

thank you!
now everything works!

camilla bonati
Monday, May 20, 2002

Or forget about the x and make your index-html read-only. You could make it a softlink, an HTTP redirect, or an intro page. When you publish, CD will complain that it can't overwrite it with its unwanted alternative, but that's exactly what you want.

Michael Wild
Thursday, January 09, 2003

*  Recent Topics

*  Fog Creek Home