/*****************
.htaccess uchun
*****************/

RewriteEngine on
RewriteRule ^news _([0-9]*).html$ news/index.php?act=view&id=$1 [NC,L] 
RewriteRule ^([^/]*)_([0-9]*).html$ news/index.php?act=view&id=$2 [NC,L]

/*****************
URL uchun
*****************/

$row['name'] = str_replace('||||','',$row['name']); 
$name = explode('||||', $row['name']);

echo '<a href="' . name_replace($name[0]) . '_' . $row['id'] . '.html"><b>' . $row['name'] . '</b></a>';

/*****************
by kHakimzhon 2020
*****************/
