我这里有一个网址colomn像this-is-the-title.php
我要积极的mod_rewrite与数据库:的mod_rewrite和职称名“.php”扩展
Options +FollowSymlinks
RewriteEngine On
RewriteRule ^([a-zA-Z0-9-/]+)$ news.php?url=$1
RewriteRule ^([a-zA-Z0-9-/]+)/$ news.php?url=$1
但我有问题,.php
扩展。此规则仅适用于this-is-the-title
而非this-is-the-title.php
。有没有办法使用扩展名为.php的标题来激活mod重写,或者我必须更改标题?
在此先感谢
进入方形parentesys有没有必要逃生。) – Eineki 2011-04-28 14:50:52
啊谢谢,改了它 – Capsule 2011-04-28 14:54:47