Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect issue Page Not Found #7

Open
izemize opened this issue May 18, 2013 · 2 comments
Open

Redirect issue Page Not Found #7

izemize opened this issue May 18, 2013 · 2 comments

Comments

@izemize
Copy link

izemize commented May 18, 2013

I have redirected to this wrong url if page open

        'request'=>array(
            'enableCsrfValidation'=>false,
            'csrfTokenName'=>'z3us',
            'enableCookieValidation'=>false,
            'class'=>'ext.localeurls.LocaleHttpRequest',
            'redirectDefault'=>false,
            'languages'=>array(
                'es'=>'Spain',
                'ru'=>'Russian',
                'tw'=>'Chinese',
                'en'=>'English',
                'ae'=>" الإمارات العربيّة المتّحدة ",
                'hu'=>'Magyar',
                'sk'=>'Slovak',
                'ja'=>'日本国',
            ),
        ),

http://z3us.sytes.net/hu/6844cb9b3a818f7088c7c5d0bc845e16f1bd18cbs:2:%22hu%22;/

@mikehaertl
Copy link
Owner

Have you set your default language to hu with 'language' => 'hu' in your app configuration?

@mikehaertl
Copy link
Owner

Also your languages array is not correct: The keys are, what should be used in URL, and the values must be valid language codes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants