htaccess mod_rewrite

前端 未结 4 1878
醉话见心
醉话见心 2020-12-06 04:11

I\'m trying to put something with this, whenever I go to a page like:

http://www.example.com/character.php?id=3

4条回答
  •  旧时难觅i
    2020-12-06 04:39

    I'm fairly certain you can't do this through htaccess. You'll need to do it in PHP, querying the database using the information from the url (?id=3) and then calling the Header Function using what you've learned from the database.

提交回复
热议问题