Routing question

#1
[eluser]Unknown[/eluser]
I am about to start writing a new site that is bringing together several other sites under one roof. All of these sites are community sharing sites that will be using the same code but I want to keep them separate entities having URLs like:

www.site.com/index.php/community_site_name/class/function/anything/else

www.site.com/index.php/another_community_site_name/class/function/anything/else

I have read the routing help file but I'm not too sure how (or if) this is possible, and with the above URL pass the community_site_name to the controller so that I can then use it in the queries etc.

If anyone could advise. Also, if anyone has another suggestion to do this then I'm open to changing my approach.

Cheers,

Jamie


Messages In This Thread
Routing question - by El Forum - 04-05-2012, 10:48 AM
Routing question - by El Forum - 04-05-2012, 06:18 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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