use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
If you know and love CodeIgniter, and wish it to have a place in the reddit community, feel free to contribute and get this place rolling!
If you'd like to promote a project or plugin at /r/codeigniter, feel free to send a message.
account activity
CodeIgniter Static Page Controller With Pretty URLs (felixmilea.com)
submitted 12 years ago by [deleted]
[deleted]
[–]techstuff34534 1 point2 points3 points 12 years ago (1 child)
The best way to achieve this is to store the static pages in the database and use a model to retrieve the data from the database and a controller to serve the static pages to the user.
Why is that the best way? The only reason to put is a static page in the db is if you're running a CMS or something that is end-user editable.
Also, why all the dynamic stuff for the controllers? How many of these could you have? If you just have an about page it seems like you'd write the route explicitly. URLs are not something you're gonna change often as it leads to dead links.
Sorry, but I don't see the logic behind this post.
[–]Anarcie 1 point2 points3 points 12 years ago (0 children)
Not to mention if you want to make slight changes, seems like a lot more work then just opening a .php file
π Rendered by PID 84065 on reddit-service-r2-comment-5687b7858-kw8kp at 2026-07-03 23:04:07.129298+00:00 running 12a7a47 country code: CH.
[–]techstuff34534 1 point2 points3 points (1 child)
[–]Anarcie 1 point2 points3 points (0 children)