-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.htaccess
21 lines (20 loc) · 973 Bytes
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
RewriteEngine On
RewriteRule "trang-chu.html" "index.php"
RewriteRule "san-pham.html" "products.php"
RewriteRule "gioi-thieu.html" "about.php"
RewriteRule "ho-so.html" "profile.php"
RewriteRule "don-hang.html" "order.php"
RewriteRule "yeu-thich.html" "wishlist.php"
RewriteRule "gio-hang.html" "cart.php"
RewriteRule "dat-hang-thanh-cong.html" "success.php"
RewriteRule "sua-thong-tin.html" "editprofile.php"
RewriteRule "doi-mat-khau.html" "changepass.php"
RewriteRule "quen-mat-khau.html" "forgotpass.php"
RewriteRule "thanh-toan.html" "payment.php"
RewriteRule "dang-nhap.html" "login.php"
RewriteRule "404.html" "404.php"
RewriteRule "danh-muc.html" "productbycat.php"
RewriteRule "thanh-toan-online.html" "vnpay/index.php"
RewriteRule "thanh-toan-thanh-cong.html" "vnpay/vnpay_return.php"
RewriteRule "^san-pham/([0-9]+)-([0-9]+)-([a-zA-z0-9_-]+).html$" "details.php?proid=$1&catid=$2&name=$3"
RewriteRule "^chi-tiet-don-hang-([0-9]+).html$" "orderdetails.php?id=$1"