作者:郁雯佩菱2 | 来源:互联网 | 2017-05-14 02:21
RewriteUrl求教!请问下如何写models.php?brandapple实现apple-notebook-c.html或者类似的静态URL的规则。在此谢过了------解决方案--------------------RewriteEngineon RewriteRule(.*)-notebook-c.htmlmode
Rewrite Url求教!
请问下如何写
/models.php?brand=apple实现/apple-notebook-c.html或者类似的静态URL的规则。在此谢过了
------解决方案--------------------RewriteEngine on
RewriteRule (.*)-notebook-c.html models.php?brand=$1 [L]
ro-----------------------------
RewriteEngine on
RewriteRule ^(.*)-notebook-c.html models.php?brand=$1 [L]