Change Displayed URL Structure using mod_rewrite NOT Working
问题 I need to change the structure of the displayed client-side URL. I'm not too skilled using regex and coding for the .htaccess file. Basically, I have a structure that looks something like: http://www.example.com/catalog/index.php?cat=lt&sec=lt1-1&id=nmlt10. I would like this to be displayed in the address bar as: http://www.example.com/catalog/lt/lt1-1/nmlt10. This is what I came up with, but it has had no effect: RewriteEngine On RewriteRule ^([^/]*)/([^/]*)/([^/]*)\$ /catalog/index.php?cat=