
Originally Posted by
RodG
What are you seeing in the browser URL for any given request?
It seems like the rewrites are are not working because I don't see the "&language=de" and "&language=en" at the end of each URL (unless I manually select a language). Also there is no styling as if the css file for some reason is not read. Very strange 
What I have in htaccess is:
Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.example\.de [NC]
RewriteRule ^(.*)$ index.php?language=de [NC,QSA]
RewriteCond %{HTTP_HOST} ^www\.example\.co\.uk [NC]
RewriteRule ^(.*)$ index.php?language=en [NC,QSA]
Typical URL's without a language is selected are:
Code:
http://www.example.co.uk/index.php?main_page=index&cPath=65
http://www.example.co.uk/index.php?main_page=product_info&cPath=65&products_id=180
http://www.example.co.uk/index.php?main_page=contact_us
and when a language is selected then they are:
Code:
http://www.example.co.uk/index.php?main_page=index&cPath=65&language=en
http://www.example.co.uk/index.php?main_page=product_info&cPath=65&products_id=180&language=en
http://www.example.co.uk/index.php?main_page=contact_us&language=en
What could be wrong with the htaccess statements?
Unfortunately I currently can't give you the URL for the site because it's down for maintenance to avoid search engines to index the pages yet as that would result in duplicate content because most of the contest on the two domains is still only in English as I haven't translated the .de domain to German yet.