Hello,
I would like to ask the way to change http://abc.com.hk/article.php?product=1&side=2 to http://abc.com.hk/article/1/2
I just write in .htaccess as below:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
It works only for this link: http://abc.com.hk/article, but not valid for http://abc.com.hk/article/1/2