Help with proper URL/URI setup |
[eluser]rt30000[/eluser]
I've spent some time trying to get this project halfway working to show my issues better than I can translate: Here is the test URL: CI Project Link As you can see, I just cannot figure out URLs or URIs. I have to use "index.php/page/index/4" (where 4 is the $id of the page to display) rather than a more friendly url. You can click through the pages, all the top level ones are there. The home page, because it has no $id (just goes straight to default controller "page") throws two errors. Ideally, I would like more clear urls and remove the index.php. I tried using .htaccess but I think my server is not accepting it. Is that the first step I need to solve? I really appreciate any help you can lend me...this is my first stab at MVC. Everything on those pages is based off a single template (with sub views), a model and the Page controller. I think i'm beginning to understand the basic concept. Here is my controller just in case it helps. Code: <?php THANKS! rob |
Messages In This Thread |
Help with proper URL/URI setup - by El Forum - 10-12-2008, 10:46 AM
Help with proper URL/URI setup - by El Forum - 10-12-2008, 11:40 AM
Help with proper URL/URI setup - by El Forum - 10-13-2008, 08:02 AM
Help with proper URL/URI setup - by El Forum - 10-13-2008, 08:18 AM
Help with proper URL/URI setup - by El Forum - 10-13-2008, 08:45 AM
Help with proper URL/URI setup - by El Forum - 10-13-2008, 08:55 AM
Help with proper URL/URI setup - by El Forum - 10-13-2008, 09:36 AM
Help with proper URL/URI setup - by El Forum - 10-13-2008, 11:19 AM
|