开发者

Apache MOD REWRITE basic question?

I have a very basic question. I am using RewriteRule to make my links bit pretty. Here is a part of the rules:

Options +FollowSymLinks
RewriteEngine On

RewriteRule first-link.php index.php?page=1
RewriteRule second-link.php index.php?page=3
RewriteRule third-link.php index.php?page=2
RewriteRule fourth-link.php index.php?page=4

The problem is that whene开发者_C百科ver I visit fourth-link.php, third-link.php, second-link.php, it display content first-link.php!!!! Any suggestions to make it work without changing pretty link names.

Thanks

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜