How to create long tail url in CI 3. |
Hey,
I am newbie in CI 3 I choose my new project ifsc finder tool to make on ci 3. But I am facing some URL kind of issue. I know that ci URL work on this hierarchy Controller > Method > params. But I want to SEO URL like domain_name/query1/query2/query3 and so on. My site URL https://www. ifsccode-bank.in and I want to achieve like this URL https://www. ifsccode-bank.in/state-bank-of-india/west-bengal/ballygunge/comm-br-ballygunge How to create like this URL.
This is simply.
controller/function/var/var/var Example: in controller index function call var / var / var index($var1,$var2=null,$var3=null,$var4=null){ // your code // $var1 is bank name // $var2 is city name // $var3 is another name // $var4 is another name } this url like this /$var1/$var2/$var3/$var4 |
Welcome Guest, Not a member yet? Register Sign In |