嗨重写URL我想问我怎么能转换 http://abc.tk/comments.php?post_referrel_id=16 到 http://abc.tk/comments.php?post_referrel_id/16 使用的.htaccess mod_write查询字符串
RewriteBase/
Options +FollowSymlinks -MultiViews
RewriteEngine On
RewriteRule ^comments\.php\?post_referrel_id/([^/]*)$ /comments.php?post_referrel_id=$1 [L,QSA]
什么是您在浏览器中输入的链接。 @ user1835722 –
这是我输入的链接....... http://blogpakistan.tk/comments.php?post_referrel_id = 13 – user1835722
请输入:blogpakistan.tk/comments.php?post_referrel_id/13 @ user1835722 –