Slug problem |
[eluser]msy07[/eluser]
Good day! I just wanted to ask you guys if anyone have encountered this weird problem. I was trying out the codeigniter tutorial and I was in this specific page: http://localhost/CI/index.php/news and that page fetches all the news entries from the database and displays all the news like a blogroll with each news entry a "read more link" with a url "http://localhost/CI/news/certain_post_here", which is correct. Now my problem is that when I add up "/" at the end of the url like this: http://localhost/CI/index.php/news/ the "read more" link changes to this "http://localhost/CI/news/news/certain_post_here" which is not correct because it double's up the url segment of the controller which would lead to a wrong destination. I hope someone could help me figure this thing out. Any help would be greatly appreciated. |
Messages In This Thread |
Slug problem - by El Forum - 08-08-2012, 08:04 AM
Slug problem - by El Forum - 08-08-2012, 09:36 AM
Slug problem - by El Forum - 08-08-2012, 10:14 AM
Slug problem - by El Forum - 08-08-2012, 08:02 PM
Slug problem - by El Forum - 08-08-2012, 10:00 PM
Slug problem - by El Forum - 08-08-2012, 10:07 PM
Slug problem - by El Forum - 08-08-2012, 10:25 PM
Slug problem - by El Forum - 08-08-2012, 11:10 PM
|