{"id":1767,"date":"2011-07-27T20:20:32","date_gmt":"2011-07-27T17:20:32","guid":{"rendered":"http:\/\/mummila.net\/kommentit\/?p=1767"},"modified":"2011-07-27T20:20:32","modified_gmt":"2011-07-27T17:20:32","slug":"on-a-hunch-i-instead-opted-to-change-upload-url-path","status":"publish","type":"post","link":"https:\/\/mummila.net\/kommentit\/2011\/07\/27\/on-a-hunch-i-instead-opted-to-change-upload-url-path\/","title":{"rendered":"On a hunch, I instead opted to change Upload Url Path"},"content":{"rendered":"<p>On a hunch, I instead opted to change <code>Upload Url Path<\/code> (of the main site) to point to where <code>Fileupload Url<\/code> already was pointing, and lo and behold, now the uploads get url&#8217;s with a <code>\/files\/<\/code> base (which I feel is best).<\/p>\n<p>Funnily, despite this same setting on the testing site, the url&#8217;s there have the <code>wp-content\/uploads<\/code> base (like I mentioned in the previous comment), as if <code>Upload Url Path<\/code> didn&#8217;t have an effect. There doesn&#8217;t seem to be a <code>Fileupload Url<\/code> setting there &#8212; perhaps it&#8217;s deprecated? (The testing site runs trunk, whereas the main site runs latest stable.)<\/p>\n<p>(Usually it&#8217;s the other way round: something that works in testing won&#8217;t work on the production site.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On a hunch, I instead opted to change Upload Url Path (of the main site) to point to where Fileupload Url already was pointing, and now the uploads get url\u2019s with a \/files\/ base (which I feel is best).<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1097],"tags":[2965],"class_list":["post-1767","post","type-post","status-publish","format-standard","hentry","category-keskustelupalstat","tag-wordpress","sijainti-wordpress-support-forums"],"_links":{"self":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/1767","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/comments?post=1767"}],"version-history":[{"count":6,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/1767\/revisions"}],"predecessor-version":[{"id":1773,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/1767\/revisions\/1773"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/media?parent=1767"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/categories?post=1767"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/tags?post=1767"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}