有什么方法.htaccess
可以发送到404 page
请求的页面?
所以换句话说,假设我正在请求一个不存在的页面,例如:
domain.com/nonexistingpage.php
去
domain.com/404.html?requested=nonexistingpage.php
这是我当前的 .htaccess 行,所以它转到 404.html
ErrorDocument 404 /404.html
我想知道要添加什么以获得这样的结果:
domain.com/404.html?requested=nonexistingpage.php
代替 :
domain.com/404.html