Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.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
多重访问重写URL_Url_Rewrite - Fatal编程技术网

多重访问重写URL

多重访问重写URL,url,rewrite,Url,Rewrite,我不得不请求有关.htaccess的帮助,因为为了通过重写规则解析几个不同的URL,下面是脚本 RewriteEngine On RewriteRule ^([^/.]+)/?$ /template_store/index.php?manufacturers_id=$1&/template_store/index.php?cPath=$1 [L] 我已经尝试在同一重写规则中连接2个URL,但仍然需要更正,请提供帮助 问候语Prehaps您可以提供一些上下文,例如您拥有的url以及您希望

我不得不请求有关.htaccess的帮助,因为为了通过重写规则解析几个不同的URL,下面是脚本

RewriteEngine On
RewriteRule ^([^/.]+)/?$ /template_store/index.php?manufacturers_id=$1&/template_store/index.php?cPath=$1 [L]
我已经尝试在同一重写规则中连接2个URL,但仍然需要更正,请提供帮助


问候语

Prehaps您可以提供一些上下文,例如您拥有的url以及您希望将其重写为什么?您好,上面的示例来自附属脚本,链接应该从index.php?cPath=computing重写为index.php?=computing