开发者

Apache rewrite module: how to remove '.php' in the middle of the URL

I would like this address:

http://www.example.com/account/?a=b&c=d

to be translated internally as

http://www.example.com/account.php/?a=b&c=d

using the rewrite module syntax in the .htaccess file.

Any help, please?

Thanks,

D开发者_如何学Can


RewriteEngine On
RewriteRule ^account/ account.php
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜