For hiding index.php from url use following htaccess
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
More on htaccess
URI Routing
Considering newstitle as unique:
Go to your route.php file (application/config/routes.php) . Add new
route rule as below
$route['rtvnews/news/(:any)'] = 'home/videonews/$1';
in your view file
<a href="<?php echo base_url()."rtvnews/new/".$newstitle; ?>" > News Title</a>
so your url became as below
http://localhost:8080/rtvnews/news/uniquenewstitle
Your request go to home/vidonews function where you can get your
newstitle as parameter.
In your controller.php function will be like
function vidonews($newsTitle){}
Considering id as unique :
Add new route rule as below
$route['rtvnews/news/(:num)'] = 'home/videonews/$1';
In view.php file
<a href="<?php echo base_url()."rtvnews/new/".$newsId; ?>" > News Title</a>
so your url became as below
http://localhost:8080/rtvnews/news/newsId
Now your request go to home/vidonews function where you can get your
newsId as parameter. In your controller.php function will be like
function vidonews($newsId){}