• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Chinese Channels seo urls

Started by vulcain,

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

vulcainTopic starter

I have created a Chinese channel but the url shows channel/國家/552/ and display a 404.
It looks like it rewrite Arab and non alpha except chinese.
  •  

PHPVibe A.

Hi,

There is no chinese translation table.

Try this, open index.php and find:

$router->map(get_option('channel-seo-url','/channel/:name/:id/:section'), 'channel', array('methods' => 'GET', 'filters' => array('id' => '(\d+)','section' => '(.*)')));


replace it with:

$router->map(get_option('channel-seo-url','/channel/:name/:id/:section'), 'channel', array('methods' => 'GET', 'filters' => array('id' => '(\d+)','section' => '(.*)','name' => '(.*)')));


Let me know if it work for chinese.

vulcainTopic starter

  •  

PHPVibe A.


Similar topics (7)