How do I build URL's like this ({title}-{id})? |
[eluser]Carmichael[/eluser]
[quote author="InsiteFX" date="1341619093"]application/config/routes.php Code: $route['blog/welcome-to-my-blog/(:any:)] = 'blog/welcome-to-my-blog/$1'; I want a - between the title and the id. Like http://blog.se/welcome-to-my-blog-1 That's not possible? |
Messages In This Thread |
How do I build URL's like this ({title}-{id})? - by El Forum - 07-06-2012, 11:31 AM
How do I build URL's like this ({title}-{id})? - by El Forum - 07-06-2012, 03:51 PM
How do I build URL's like this ({title}-{id})? - by El Forum - 07-06-2012, 04:04 PM
How do I build URL's like this ({title}-{id})? - by El Forum - 07-06-2012, 04:58 PM
How do I build URL's like this ({title}-{id})? - by El Forum - 07-17-2012, 05:13 PM
|