mod_rewrite RewriteCond and query string
问题 recently, I have been working on a small project for a client. I was thinking about using a wordpress style pretty URL format. I googled around a lot and came accross Apache’s mod_rewrite and RewriteRule , RewriteCond . But didn't find any example which can handle random of parameters. For example: /index.php?param=1 → /index/param/1 /index.php?foo=bar&hour=1&minutes=12 → /index/foo/bar/hour/1/minutes/12 /index.php?page=login&attempt=2 → /index/page/login/attempt/2 or something similar. As