04-15-2011, 11:01 AM
[eluser]johnmerlino[/eluser]
Thanks for the response. When user enters url, a method gets called that dynamically generates content from database for that url, so I had to check whether there was indeed a uri segment and if not redirect to a page:
Thanks for the response. When user enters url, a method gets called that dynamically generates content from database for that url, so I had to check whether there was indeed a uri segment and if not redirect to a page:
Code:
elseif(!$this->uri->segment(1)){
redirect('homes');
}