Multilingual & Pretty URLs

Permalink
Hi,
I am building my first multilingual site (using the free multilingual ad-on) and the ususal pretty URLs rewrite rule doesn't seem to work.

Anyone got this combination working?

CU
Markus

msglueck
 
ch03136 replied on at Permalink Reply
Same here, i tried in Greek with utf8 encoding and it doesn't seem to be working!
msglueck replied on at Permalink Reply
msglueck
hi,

I tried it locally with Apache 2 and Zend Server and Pretty URLs are working as they should. But not on the Server I am using for production, which is a shared hosting environment.

What's your environment?

Cu
Markus
msglueck replied on at Permalink Reply
msglueck
Ok got it working on 5.4.2. it was not connected with Internationalization. It was because of the shared hosting and the request.php.

changed in concrete/libraries/request.php:
/** 
    * Gets a request object for the current request. Parses PATH_INFO as necessary.
    * @return Request
    */
   public static function get() {
      static $req;
      if (!isset($req) || C5_ENVIRONMENT_ONLY) {
         $path = false;
         if (defined('SERVER_PATH_VARIABLE')) {
            $path = Request::parsePathFromRequest(SERVER_PATH_VARIABLE);
         }/*
         if (!$path) {
            $path = Request::parsePathFromRequest('ORIG_PATH_INFO');
         }*/
         if (!$path) {


got the solution from here:http://www.concrete5.org/community/forums/documentation_efforts/sol...
rkrewinkel replied on at Permalink Reply
rkrewinkel
What Add-On are you using?
rkrewinkel replied on at Permalink Reply
rkrewinkel
Which plugin are you using?