diff --git a/.htaccess b/.htaccess index 6cb3aa6b..a0626fee 100644 --- a/.htaccess +++ b/.htaccess @@ -1,14 +1,10 @@ -# Developed by: TanHongIT -# Website: https://tanhongit.com - https://tanhongit.net -# Github: https://github.com/TanHongIT - RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteBase / RewriteRule ^([^/]+)/?$ index.php?controller=$1 [QSA,L] -RewriteRule ^([^/]+)/([^/]+)/?$ index.php?controller=$1&id=$2 [QSA,L] RewriteRule ^([a-zA-Z]*)/?([a-zA-Z]*)?/?([a-zA-Z0-9]*)?/?$ index.php?controller=$1&action=$2&id=$3 [NC,L] +RewriteRule ^([^/]+)/([^/]+)/?$ index.php?controller=$1&id=$2 [QSA,L] ErrorDocument 404 / \ No newline at end of file diff --git a/content/views/cart/index.php b/content/views/cart/index.php index 7eb36ccf..8b340fd9 100644 --- a/content/views/cart/index.php +++ b/content/views/cart/index.php @@ -1,8 +1,3 @@ -