1
我试图让我的.htaccess文件重写的URL与这个结局:的.htaccess重写文件名作为页
/Management_Agreement_fillable.pdf
为:?
/页=观众&观察者= G & FILEID = 1
然而,当我尝试以下方法:
RewriteCond ^/Management_Agreement_fillable.pdf$
RewriteRule (.*) /?page=viewer&viewer=G&fileID=1 [R=301,L]
它不起作用。我该怎么做?
这也很好,是两种解决方案中更简单的。谢谢! – angularPrism 2014-11-24 21:13:26