RewriteEngine On DirectoryIndex manh.php RewriteRule "^danh-muc/(.*)-(.*)/$" "danh-muc-sp.php?link=$1&id=$2" [L] RewriteRule "^danh-muc/(.*)-(.*)/page/(.*).html$" "danh-muc-sp.php?link=$1&id=$2&page=$3" [L] RewriteRule "^tin-tuc/(.*)-(.*)/$" "danh-muc-tin.php?link=$1&id=$2" [L] RewriteRule "^tin-tuc/(.*)-(.*)/page/(.*).html$" "danh-muc-tin.php?link=$1&id=$2&page=$3" [L] RewriteRule "^khoa-hoc/(.*)-(.*)/$" "khoa-hoc.php?link=$1&id=$2" [L] RewriteRule "^bai-hoc/(.*)-(.*)/$" "chi-tiet-sp.php?link=$1&id=$2" [L] RewriteRule "^chi-tiet/(.*)-(.*)/$" "chi-tiet-tin.php?link=$1&id=$2" [L] RewriteRule "^giang-vien/(.*)-(.*)/$" "chi-tiet-gv.php?link=$1&id=$2" [L] RewriteRule "^faqs/$" "fag.php" [L] RewriteRule "^giang-vien/$" "giangvien.php" [L] RewriteRule "^gioi-thieu/$" "gioithieu.php" [L] RewriteRule "^profile/$" "hoso.php" [L] RewriteRule "^join-us/$" "join-us.php" [L] RewriteRule "^lien-he/$" "lien-he.php" [L] RewriteRule "^khoa-hoc-cua-toi/$" "my-khoahoc.php" [L] RewriteRule "^khoa-hoc-noi-bat/$" "noi-bat.php" [L] RewriteRule "^search/$" "tim-kiem.php" [L] RewriteRule "^search/s=(.*)/page/(.*).html$" "tim-kiem.php?s=$1&page=$2" [L] RewriteRule "^(.*)-(.*)/$" "khoa-hoc1.php?link=$1&id=$2" [L]