Jump to content

Archived

This topic is now archived and is closed to further replies.

Bashar

rewrite but not rewrite everything

Recommended Posts

my curent rule is
^/(.*).php /index.php?page=$1

so http://www.mysite.com/test.php    goes into->  http://www.mysite.com/index.php?page=test

now i want that

http://www.mysite.com/test.php?nr=10
to go into
http://www.mysite.com/index.php?page=test&nr=10

or http://www.mysite.com/test.php?nr=10&anything=34
to go into
http://www.mysite.com/index.php?page=test&nr=10&anything=34


thanks in advance

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.