Welcome Guest, Not a member yet? Register   Sign In
Creating a WordPress MU-ilke application using CI
#1

[eluser]psdtocode[/eluser]
Hello,

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:
http://www.domain.com/index.php/site/view/sitename

However, that posed a problem when I needed to do something like this:
http://www.domain.com/index.php/site/vie...e/post/123

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:
http://sitename.domain.com/post/123

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?

Thanks,
Andrew


Messages In This Thread
Creating a WordPress MU-ilke application using CI - by El Forum - 11-28-2008, 02:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB