amithasija 0 Light Poster

hi all,

i have one default module and one more module module_1 ,i have one parameter extra in url for langauge like site.com/module/languageparameter/controller/action i defiend it in index.php(bootstarp file) like this

$router = new Zend_Controller_Router_Rewrite();
$router->addRoute('new_route', new Zend_Controller_Router_Route(
':module/:lang/:controller/:action/*',
array('module' => 'default',
'lang' => '',
'controller' => 'index',
'action' => 'index'
)));


now when i move form some page to another in default module only than in place of module
it integrates default for eg:

((site.com/default/languageparameter/controller/action))

and i do not want this in my url when i am traversing in my default module,

i want my url be like this
((site.com/languageparameter/controller/action))

can anybody help me regarding this issue.

thanx in advance

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.