• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating a WordPress MU-ilke application using CI


I posted a thread the other day asking about the .htaccess side of developing an application like this, but I realized the way I was using CI wasn't the best way. The basic idea of this app, is to allow people to signup for the service, and they would get their own mini-blog website (there are some things we do and don't need, so WPMU won't work well). I want to find the best way to structure my URI, my controllers, methods, etc. so it will work the best.

I was originally going to do something like:

However, that posed a problem when I needed to do something like this:

It was too long, and it didn't allow me to easily use a post method in my controller to display the posts. My question is if there is an easier way to go about this, to pass the sitename variable in the URL.

My goal is to end up, through .htaccess, URLs that look like:

Does anyone have any ideas on the best way to structure the URL's, the controllers, and all other aspects of this app? Can you point me in the right direction?


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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