Support » Networking WordPress » How to change the Media URL

  • I have a multisite setup where each Site setting for Upload Path is pointing to wp-content/blogs.dir/9/files where 9 is the site ID – All media uploads successfully get uploaded here. No problem there.

    However, the problem occurs in the individual site. When a file is uploaded through Add Media, it goes to a complete different URL.

    For example, if the site is called “H1” and the site ID is 9, when a file is uploaded through Add Media in the individual site, it get uploaded to wp-content/blogs.dir/9/files, but the Media page is looking in a URL called h1/files/. How to I change the “h1/files/” to “wp-content/blogs.dir/9/files”?

    Which MS files can I change or what hook can I write in a plugin to fix this?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to change the Media URL’ is closed to new replies.