开发者

Apache MOD REWRITE basic question?

开发者 https://www.devze.com 2023-03-16 21:33 出处:网络
I have a very basic question. I am using RewriteRule to make my links bit pretty. Here is a part of the rules:

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

精彩评论

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