Always set home_root in the rewrite rules. Dreamhost does not set the path for some reason. Props Joe Taiabjee
git-svn-id: https://develop.svn.wordpress.org/trunk@9516 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0623c49a93
commit
d9b39736ba
|
@ -1633,6 +1633,8 @@ class WP_Rewrite {
|
|||
$home_root = parse_url(get_option('home'));
|
||||
if ( isset( $home_root['path'] ) ) {
|
||||
$home_root = trailingslashit($home_root['path']);
|
||||
} else {
|
||||
$home_root = '/';
|
||||
}
|
||||
|
||||
$rules = "<IfModule mod_rewrite.c>\n";
|
||||
|
|
Loading…
Reference in New Issue