Welcome Guest, Not a member yet? Register   Sign In
Dynamic routing names
#1

(This post was last modified: 10-21-2015, 11:37 PM by ignitedcms.)

Not sure how to best explain this but the best example I can think of is wordpress.

In wordpress when you create a blog entry it's url is by default blogid/blogdate or something.

But you can go into the back and change it so it show blogname/blogdate which is a more SEO friendly url.

So my question is can I do something like this in codeigniter without tampering with the .htaccess file.


For example my default blog render calls the controller:

Code:
render_blog_page/section_id/entry_id

but I would like it read the viewfile name eg blog/blog-title.

I hope that made sense. Looking forward to your suggestions.
Practical guide to IgnitedCMS - Book coming soon, www.ignitedcms.com
Reply


Messages In This Thread
Dynamic routing names - by ignitedcms - 10-21-2015, 03:14 PM
RE: Dynamic routing names - by AidanW - 10-21-2015, 03:28 PM
RE: Dynamic routing names - by PaulD - 10-21-2015, 05:56 PM
RE: Dynamic routing names - by ignitedcms - 10-21-2015, 11:12 PM
RE: Dynamic routing names - by AidanW - 10-22-2015, 12:06 AM
RE: Dynamic routing names - by John_Betong - 10-22-2015, 02:13 AM
RE: Dynamic routing names - by ignitedcms - 10-23-2015, 10:57 AM
RE: Dynamic routing names - by puneetkumar - 07-13-2018, 12:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB