I have disabled the htaccess file and still I am seeing the same behaviour.
Re. multi-language I am using this method in the wiki http://expressionengine.com/wiki/Multi_language_site_alternative/
So the default language is French, therefore in path.php in my site root I have this:
$system_path = "./ee_system/";
$template_group = "";
$template = "";
$site_url = "";
$site_index = "";
$site_404 = "";
$global_vars = array(
"country_code" => "fr",
"language" => "french",
"site_root" => "http://www.mydomainname.ch/",
"lang_home" => "Accueil",
"lang_donate" => "Participez",
"lang_take_a_tour" => "Visite guidée",
"lang_the_arts" => "Les Arts",
"lang_thanking_you" => "Merci",
"lang_news_events" => "Actualités",
"lang_scrapbook" => "Album",
"lang_contact" => "Contact"
); // This array must be associative
URLs for the defaults langauge are similar to:
http://www.mydomainname.ch/the_arts/
I then have a folder called ‘en’ in the site root for my English language version. In this folder is a duplicate of the root index.php file, a path.php file containing:
$system_path = "../ee_system/";
$template_group = "";
$template = "";
$site_url = "http://www.mydomainname.ch/en/";
$site_index = "";
$site_404 = "";
$global_vars = array(
"country_code" => "en",
"language" => "english",
"site_root" => "http://www.mydomainname.ch/",
"lang_home" => "Home",
"lang_donate" => "Donate",
"lang_take_a_tour" => "Take a Tour",
"lang_the_arts" => "The Arts",
"lang_thanking_you" => "Thanking You",
"lang_news_events" => "News & Events",
"lang_scrapbook" => "Scrapbook",
"lang_contact" => "Contact"
);
and a htaccess file with the following in
# rewrite rules
RewriteEngine On
# ditch index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /en/index.php/$1 [L]
URLs for the english langauge version are similar to:
http://www.mydomainname.ch/en/the_arts/
I seeing this behaviour whether I have a language code segment in my URL or not so is this really the problem.