Update wp-config.php.tmpl for hosting in subdir#137
Update wp-config.php.tmpl for hosting in subdir#137agarce wants to merge 1 commit intowesleytodd:masterfrom
Conversation
This change make the site work if it is hosted in a subdirectory, not in the server's root.
|
What happens when it is hosted at the root? This seems like it might break that. I can test it, but it would be awesome if you confirmed that it works for that as well before I take a look. |
|
This won't work even if the site is installed in a subdirectory. You end up with WP looking for files in places like So this PR needs a little tweaking, but its definitely something I'd like to see pulled in. |
|
Yes, it caused ajax request not working properly for the same reason. Sorry PD: finally I set the constants in local-config.php... the fast way. 2015-02-02 17:39 GMT+01:00 Todd Miller notifications@github.com:
|
|
Hey don't worry about it. If you want to take another shot at it, we'll definitely pull it in! |
3110bcd to
0c20cad
Compare
This change make the site work if it is hosted in a subdirectory, not in the server's root.