Yesterday, I asked for help on urlrewrite - Ulrich Palha helped me to solve the problem.
His solution is working great on Linux server using .htaccess
, and I appreciate his help, but the solution isn't working on a Windows server running IIS. I spent all day trying my best to make it work on a Windows server, but it was a bad day for me :-(, so I'm asking for help.
Here is code that works on Linux using .htaccess
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^([^/]*)/?([^/]*)/?([^/]*)\.html$ category.php?maincat_url=$1&first_subcat_url=$2&second_subcat_url=$3 [L]
Thanks.