(2013-04-11, 05:57:05)Carlos Wrote:I just did as you wish.(2013-04-11, 05:18:05)TeeJay Wrote: I tried all the reasonable options. In all cases, .htacces included this:
Code:# News Manager:
RewriteRule ^clanky/tag/([^/.]+)/?$ index.php?id=clanky&tag=$1 [L]
...
Could you try removing all those NM rewriterules, and test with all this?
- the suggested patch
- a custom permalink structure like %nondefaultlanguage%/%parent%/%slug%/ (or %language%/%parent%/%slug%/)
- no NM fancy urls selected (make sure you have them disabled in NM by enabling it in GS first - no need to have that disabled in GS as the custom structure overrides it)
As I said I cannot help about rewriterules (I suppose they should be changed to include some lang parameter or whatever), but I'd like to know if that patch could make NM work with I18N base. (If you can't, nevermind, when I have some time I'll do my own tests.)
The result is terrible, the index page is alright.
After clicking onto any other menu tab, the site switches to English and cannot be switched back into Czech unless I go to the index/title page.
Furthermore, after clicking onto an article in the News page, I got black-white error screen
Code:
Not Found
The requested URL /demo/testTeeJay/plus/en/clanky/ was not found on this server.
Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny13 with Suhosin-Patch Server at websimple.cz Port 80
Something wrong I guess
The setup was as you said - no NM setting in .htaccess, Fancy URLs of the NM switched off correctly. .htacces was:
Code:
RewriteRule ^/?$ cs/ [R,L] # optional
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(cs|en)/(.*?/)?([A-Za-z0-9-]+)/?$ index.php?id=$3&lang=$1 [QSA,L]
RewriteRule ^(cs|en)/?$ index.php?lang=$1 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*?/)?([A-Za-z0-9-]+)/?$ index.php?id=$2&lang=en [QSA,L]
Code:
RewriteRule /?([A-Za-z0-9-]+)/?$ index.php?id=$1 [QSA,L]
However, the NM problems with the error screen stays cool, unchanged.
Tomáš Janeček - Multilingual personal website powered by GetSimple
» The little I did for GetSimple
» The little I did for GetSimple