问题描述
我在以下示例中为多个地址解决RewriteRule时遇到问题:
我的.htaccess文件:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/([a-z]*/?[a-z0-9]?*)$ marka.PHP?marka=$1&model=$2&engine=$3 [L]
我的网站:
<a href="https://example.com/opel">Opel</a>
模型站点:
<a href="https://example.com/opel/astra">Opel Astra</a>
引擎站点:
<a href="https://example.com/opel/astra/1-4">Opel Astra 1.4</a>
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)