Hi,
This is how I solved the same problem on my main site. I have a sub-structure there for different languages so there are folders like:
www.mysite.com/klingon/
and underneath, there are a number of pages, let’s say the first klingon page is:
www.mysite.com/klingon/HeghlumeH-QaQ-jajvam.html
Solution:
Create a template for "folders" (they are documents as well, but the ones you don’t want anyone to see, just used as folders for the sub-documents). Here’s my "folder" template:
--------------------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<base href="
http://www.mysite.com/">
<meta name="robots" content="noindex">
</head>
<body>
[*sitemap_exclude*]
[!FirstChildRedirect!]
</body>
</html>
-----------------------------------------------------------
Notes: I’m using the snippet FirstChildRedirect to make sure that anyone who might type in the folder directly won’t see it, instead they will be redirected directly to the first sub-document. I also use the Sitemap snippet to create a Google sitemap - and of course we don’t want this "folder" shown to Google as a document.
Now the KLINGON folder will not show up when you browse to it, but the first sub-document will instead. You can then choose if you want the KLINGON folder to show up in menues or not.
I’ve chosen to have it there, so my menue will look like this:
Index page
some other page
KLINGON
first klingon page
second klingon page
OTHER LANGUAGE
etcetera
If anyone actually klicks on "KLINGON", they will get straight to the "first klingon page"