Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I18N language in URL index page problem
#1
Is someone using GS 3.0 and I18N 2.5.1 Navigation with "Include Language in URL"?
While without "%language%/%parent%/%slug%" permalink setting and edited .htaccess everything works fine, afterwards I have problems with the index pages. Every other page (Parents and Subpages) is working, for example "/de/vacations/". But not the link to the index pages:
/de/
/it/
/en/
Everyone gives a "Oops! Page not found!" with I18N edited Innovation Theme.
The link to the root "/" shows the index page of the Page Management Setting "Language of all pages with URLs without language code (like "index"), e.g. "de": ". In my case this is "de".
Here the .htaccess-code
Code:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(de|it|en)/(.*?/)?([A-Za-z0-9_-]+)/?$ index.php?id=$3&lang=$1 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]
Even with using copy and paste from mvlcek.bplaced.net/get-simple/i18n there was no change in the behaviour.
After some hours of testing (on local WAMP-Server) I ask me if someone can reproduce this or do I have a nasty bug in my code?
Advanced HTML5 & CSS3 coder. Simple JS & PHP hacker (not enough for new function coding). Build one webpage with GS (late 2012). Focusing on Theme customizing/Template files. Experience with WP.
Reply


Messages In This Thread
I18N language in URL index page problem - by ChriS - 2012-01-19, 09:10:19



Users browsing this thread: 1 Guest(s)