Welcome Guest, Not a member yet? Register   Sign In
Rewrite url vs Controller
#1

[eluser]stingray9[/eluser]
Hi,

i got a little question, let me explain my problem.
I made it possible for a costumer on my application to create three pages. They can give the page a title and content.
Every page is saved in the database under page1, page2 and page3.

Now, my controller is extra, with functions: page1, page2 and page3.
So the url they see is basic_url/extra/page1

But it would be more nice, if the url was the title they have set up their-self (saved in the database) and not that ugly extra/page1.
The problem is referring to my correct controller by then.

I hope i explained it well and someone have a possible solution for me.


Messages In This Thread
Rewrite url vs Controller - by El Forum - 05-27-2011, 03:36 PM
Rewrite url vs Controller - by El Forum - 05-27-2011, 04:56 PM
Rewrite url vs Controller - by El Forum - 05-28-2011, 07:34 AM
Rewrite url vs Controller - by El Forum - 05-28-2011, 07:39 AM
Rewrite url vs Controller - by El Forum - 05-28-2011, 04:10 PM
Rewrite url vs Controller - by El Forum - 05-29-2011, 02:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB