Elxis CMS Forum
Support => Language => Topic started by: grayarti on October 26, 2008, 11:26:15
-
Hi everyone,
I'm building a multilanguage site (4/5 languages).
Everything is fine, Elxis is a great CMS!
Today I thought I would try out the SEO Pro, even though this experiment is still on my local
Apache web-server, and in a folder, i.e., not in the root. I really want to learn as much as possible
doing things locally, before publishing anything serious.
Anyway, all is working fine, EXCEPT for any of the pages from the default language.
(They all give an Internal Server Error).
If I change the default language to another, then pages previously giving errors then work, but
the pages of the new default language then give out the same messages.
It would seem that non-default languages give the language code: /en/, /it/, /fr/, etc. whereas
this isn't neccesary for the default language. I have read all I can find, and this seems correct,
but this is only where I'm getting the errors... What have I configured wrong? Anyone know?
It's probably something very simple, but I can't find the solution, and in solving this problem, it
may help others quite a bit.
Many thanks (again) :P
Gray.
-
I am sure it is not a serious problem, as SEOpro is working perfectly. In order to find out what went wrong, please give us some info about OS you are using and tell us did you rename htacces.txt to .htaccess. Also, wich version of Elxis you have installed.
-
Hello Ivan!... Wow, you are fast! hahaha
Yes, as you say, I'm sureI have made a small error, somewhere, and as you say SEO IS
working fine, just not for whichever default language I set up.
I'm using the latest Elxis 2008.1 Nemesis version on a Win2000 PC.
I'm pretty sure the .htaccess is set up properly, and the RewriteBase/folder/ is right.
As I say, all works great... EXCEPT for whichever default language I choose.
... thanks for your interest,
Gray.
-
I think you are using the 2008.0's htaccess file, Elxis 2008.1 has a different .htaccess file. You should update it!
-
Hello Datahell,
no, the htaccess file is right, and part of the same installation, it has:
##
# Elxis 2008.1 htaccess file
at the start, so, it should be ok.
-
Here is what the only part that I've changed looks like:
__________________________________________
RewriteBase /nemesis11/
#
# Language Handling
# You may remove the languages that you dont need or add other languages not listed here
# For the proper language names and the 2-letter iso code languages consider includes/Core/locale.php file
#
RewriteCond %{QUERY_STRING} !mylang=[english|french|german|italian]{2,}
RewriteRule ^([it]{2})/(.*)$ /index.php?mylang=italian [QSA,L]
RewriteRule ^([en]{2})/(.*)$ /index.php?mylang=english [QSA,L]
RewriteRule ^([de]{2})/(.*)$ /index.php?mylang=german [QSA,L]
RewriteRule ^([fr]{2})/(.*)$ /index.php?mylang=french [QSA,L]