Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Elxis documentation
for users and developers.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Language
(Moderator:
Farhad Sakhaei
) »
[SOLVED] Problems with Czech
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: [SOLVED] Problems with Czech (Read 23364 times)
e-isodos
Jr. Member
Posts: 69
Re: Problems with Czech
«
Reply #15 on:
January 07, 2011, 16:19:29 »
Thank you for your hepl.
Everything are OK
I have just found that if I unable the SEO Pro then czech language is working !!!
So THE PROBLEM IS AT SEO PRO
Any idea about fixing it?
Logged
webgift
Elxis Team
Hero Member
Posts: 4193
Re: Problems with Czech
«
Reply #16 on:
January 07, 2011, 16:30:38 »
You must modify the .htaccess file.
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
e-isodos
Jr. Member
Posts: 69
Re: Problems with Czech
«
Reply #17 on:
January 07, 2011, 22:14:21 »
How I should modify the httaccess file.
Any other language (german, italian, english, polish, russian) is working perfect with SEO PRO, the only problem is with czech
Logged
webgift
Elxis Team
Hero Member
Posts: 4193
Re: Problems with Czech
«
Reply #18 on:
January 08, 2011, 12:23:14 »
Open the .htaccess file and add the czech.
Otherwise i will need access to do it for you!
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
e-isodos
Jr. Member
Posts: 69
Re: Problems with Czech
«
Reply #19 on:
January 10, 2011, 06:22:54 »
I have allready added the czech language at .htaccess file. Have a look
##
# Elxis 2009.2 htaccess file
# Copyright (C) 2006-2010 Elxis.org. All rights reserved.
# License:
http://www.gnu.org/copyleft/gpl.html
GNU/GPL
# Elxis CMS is a Free Software
##
## Uncomment the following line, if it produces erors, comment it again
# Options -Indexes +FollowSymLinks
#
# mod_rewrite in use
#
RewriteEngine On
# The following line tells the web server where your Elxis installation is located in relation
# to the web server root directory. By default this is set to the www root folder ( RewriteBase / ).
# If you have installed Elxis in a sub-folder then set this path properly.
# For example if your elxis site is accessible via this URL
http://www.mysite.com/elxis/
# You should set: RewriteBase /elxis/
RewriteBase /
# Uncomment the line bellow if you use static cache in order to deny direct access to cached files.
#RewriteRule ^cache/static/(.*)$ - [F]
#
# 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 iso 639 code languages consider includes/Core/locale.php file
# If you wish to use chinese you should add:
# chinese_traditional : zh-Hant,
# chinese_simplified : zh-Hans
#
RewriteCond %{QUERY_STRING} !mylang=[
czech
|english|french|german|greek|italian|polish|romanian|russian]{2,}
RewriteRule ^([cs]{2})/(.*)$ /index.php?mylang=czech[QSA,L]
RewriteRule ^([en]{2})/(.*)$ /index.php?mylang=english [QSA,L]
RewriteRule ^([fr]{2})/(.*)$ /index.php?mylang=french [QSA,L]
RewriteRule ^([de]{2})/(.*)$ /index.php?mylang=german [QSA,L]
RewriteRule ^([el]{2})/(.*)$ /index.php?mylang=greek [QSA,L]
RewriteRule ^([it]{2})/(.*)$ /index.php?mylang=italian [QSA,L]
RewriteRule ^([pl]{2})/(.*)$ /index.php?mylang=polish [QSA,L]
RewriteRule ^([ro]{2})/(.*)$ /index.php?mylang=romanian [QSA,L]
RewriteRule ^([ru]{2})/(.*)$ /index.php?mylang=russian [QSA,L]
#
# Exclude Files and directories
#
RewriteRule ^(administrator/|bridges/|cache/|components/|editor/|help/|images/|includes/|language/|mambots/|media/|modules/|templates/|tmpr/) - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php
#
## Security rules. Comment them if they cause problems to your site
#
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
# This rule is commented because it may cause some Elxis features to not work!
# RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
Logged
webgift
Elxis Team
Hero Member
Posts: 4193
Re: Problems with Czech
«
Reply #20 on:
January 10, 2011, 09:44:37 »
Enable SEO and check it. It seems right.
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
e-isodos
Jr. Member
Posts: 69
Re: Problems with Czech
«
Reply #21 on:
January 10, 2011, 23:40:55 »
Nop !
At Basic SEO works OK
At SEO PRO all languages are OK except CZECH ---> I get the error message
Bad Request
Your browser sent a request that this server could not understand.
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Problems with Czech
«
Reply #22 on:
January 11, 2011, 08:45:40 »
Don't use SEO Basic, always use SEO PRO.
Elxis has 2 language identifiers for Czech, "cs" and "cs-cz". The second one when used on htaccess should be escaped with a backslash (placed before the period symbol), else it will generate error. If you use the "cs" identifier (recommended) it should work fine.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
e-isodos
Jr. Member
Posts: 69
Re: Problems with Czech
«
Reply #23 on:
January 13, 2011, 22:53:17 »
Thank you for your answer.
Unfortunently it doens't work on SEO PRO with
cs
identifier (as you can see at .htaccess).
It works Perfect on SEO BASIC (But of course I want to use SEO pRO)
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Problems with Czech
«
Reply #24 on:
January 14, 2011, 18:55:22 »
If you wish, send me a personal message with the username/password for your site's FTP to check/fix it.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Problems with Czech
«
Reply #25 on:
January 18, 2011, 12:44:30 »
Problem fixed!
I write here the solution for the other users.
The problem was a mistype
e-isodos
has made on his htaccess file when he added the czech language in it.
This was the problem:
RewriteRule ^([cs]{2})/(.*)$ /index.php?mylang=czech[QSA,L]
You need a space between czech and [QSA,L]
So the corrected rewrite rul is:
RewriteRule ^([cs]{2})/(.*)$ /index.php?mylang=czech [QSA,L]
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
e-isodos
Jr. Member
Posts: 69
Re: Problems with Czech
«
Reply #26 on:
January 18, 2011, 13:29:54 »
MILLION THANKS.
YOU REALLY CARE ABOUT ELXIS AND IT'S USERS !!!!
Logged
Print
Pages:
1
[
2
]
« previous
next »
Elxis CMS Forum
»
Support
»
Language
(Moderator:
Farhad Sakhaei
) »
[SOLVED] Problems with Czech