Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/.htaccess/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.htaccess 使用多个参数重写URL_.htaccess_Mod Rewrite - Fatal编程技术网

.htaccess 使用多个参数重写URL

.htaccess 使用多个参数重写URL,.htaccess,mod-rewrite,.htaccess,Mod Rewrite,我需要转换一个URL,其中包含一些如下参数(字母l、v和n表示输入参数) 指向包含查询字符串的URL: /index.php?liv=1&id=5&lang=3 参数l、v、n可以是任意顺序,下列值可以是数字,可以包括特殊符号(+、-)等 任何帮助都将不胜感激 这是什么样的漂亮URL方案?你有没有试过自己解决这个问题?这只是我的主意。我曾经尝试过这样的东西:RewriteCond%{REQUEST_URI}^(.*)/(\bl\b(\w++&\w++)+)$,但没有成功:(也尝

我需要转换一个URL,其中包含一些如下参数(字母l、v和n表示输入参数)

指向包含查询字符串的URL:

/index.php?liv=1&id=5&lang=3
参数l、v、n可以是任意顺序,下列值可以是数字,可以包括特殊符号(+、-)等


任何帮助都将不胜感激

这是什么样的漂亮URL方案?你有没有试过自己解决这个问题?这只是我的主意。我曾经尝试过这样的东西:RewriteCond%{REQUEST_URI}^(.*)/(\bl\b(\w++&\w++)+)$,但没有成功:(也尝试过:RewriteCond%{REQUEST_URI}^.*/*l(\d+)[vlcmnbfstprio]|-|_|$
/index.php?liv=1&id=5&lang=3