首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > PHP >

Rewrite Url求教!解决办法

2012-04-15 
Rewrite Url求教!请问下如何写/models.php?brandapple实现/apple-notebook-c.html或者类似的静态URL的规

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]

热点排行