我已将wordpress自定义结构permalink更改为/%post_id%/%postname%/
并获取此错误:
404 Not Found The requested URL /mysite/blog/1/hello-world/ was not found on this server.
- wordpress版本3.1.7 localhost/mysite/blog
function got_mod_rewrite() {
//$got_rewrite = apache_mod_loaded(\'mod_rewrite\', true); //old line with false negative;
$got_rewrite = true;//force the response to true as we know mod_rewite is installed;
return apply_filters(\'got_rewrite\', $got_rewrite);
}