mod_rewrite - PHP: $_GET not complete

前端 未结 1 495
南笙
南笙 2021-01-26 10:53

I have the following mod_rewrite:

Options +FollowSymLinks
RewriteEngine On

RewriteRule ^register index.php?page=register

The url looks like th

1条回答
  •  独厮守ぢ
    2021-01-26 11:47

    Set the QSA flag to have the original query appended to the new one:

    RewriteRule ^register index.php?page=register [QSA]
    

    0 讨论(0)
提交回复
热议问题