的实际网址是:这我的应用程序使用PHP重写规则
http://site.com/search.php?search=iPhone
,但我想它可以达到同样的用
http://site.com/iPhone
我没有任何的重写规则的经验,我该如何设置?
该解决方案的工作,但新的URL显示在地址栏中。我认为这将是可能设置这使得它看起来好像页面位置是
http://site.com/iPhone
不改变显示
http://site.com/search.php?search=iPhone
这可能吗?谢谢。
为什么你的正则表达式只尝试匹配数字?只是好奇,因为他的例子使用“iPhone”,而不是一个数字。 – 2009-02-17 23:34:10