php - .htaccess make URL user friendly for multiple and dynamic parameters
问题 I am dealing with a php site, and I want first to remove all the .php extensions for the sites pages, so www.site.com/index.php should work with www.site.com/index That is already working with this .htaccess configuration, for all the site pages: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^\.]+)$ $1.php [NC,L] Now I want to make user friendly the site URL with parameters , but my problem is that I can have my site products.php, with multiple params, in multiple orders