标签: php url
可能重复: How to make parameters look more attractive
如何在http://abc.xyz.com/index.php?code=pqr中打印网址http://abc.xyz.com/pqr 使用服务器RewriteRule?
答案 0 :(得分:1)
Rewriterule ^/(.*)$ index.php?code=$1
将其放在名为.htaccess