Welcome Guest, Not a member yet? Register   Sign In
Codeigniter URL Pattern using htaccess / route / model
#1
Smile 
(This post was last modified: 12-13-2015, 10:28 PM by Codeigniter_Learner.)

I've just put my hands on MVC and new to Codeigniter.

As per my understanding Codeigniter url consist of (base url) / Class / Method

I am trying some more complex url structure as
base_url/listing/category/country/state/city/listing-id-23
which I presume can be achieved by calling another controller from another, or may be using route.

PS, category/country/state/city here changes dynamically based on product.

Is it possible to have url like that with Codeigniter or do I have to stick with www.example.com/listing/listing-id-23 ?
Thanks you.
Reply


Messages In This Thread
Codeigniter URL Pattern using htaccess / route / model - by Codeigniter_Learner - 12-13-2015, 08:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB