.htaccess rewrite for a simpleton
I can generally figure this kind of thing out on my own, but I'm totally lost on how to write a rewrite rule in .htaccess
my current url looks like:
index.php?p=page&v=2&i=2&pg=01
I'm 开发者_开发技巧trying to make the url look like this:
/vol2/iss2/pg01/
Any help greatly appreciated! Thanks!
Try something like following
RewriteEngine on
RewriteRule ^vol([0-9]+)/iss([0-9]+)/pg([0-9]+)/$ index.php?p=page&v=$1&i=$2&pg=$3
精彩评论