[eluser]Gerson[/eluser]
Isn't it possible to combine url_title() with the query string to get the right entry from the DB without the need to have a 'seo_name' column in the table?
Something like:
$query = $this->db->get_where('page', array(url_title('title') => $url_title), 1);
(This one I wrote doesn't work. But I'm also trying to figure out a better way to do the same thing).