Problem with Routing

hi everybody,

i have a problem with URI routing.actually i have a url looks like this


and, which i want to change into :

[show/topic] hidden

I just want to hide those 'show' -[controller] and 'topic' [method] from displaying in URL.
How could i do this ?
Thanks in advance.

This should work:

RewriteRule   ^Film/(.*)$  index.php/show/topic/Film/$1

Nah! it doesn't work sumemr student!
any other ideas?

Have a try with routing with regular expressions (please scroll to the section!!!).

try this
$route["Film(.+)*"] = "show/topic/Film$1";

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.