Forums

[resolved] IIS Image Uploading issue after moving wp-content (3 posts)

  1. Aaron Wagner
    Member
    Posted 6 months ago #

    Ok, first the particulars:

    - PHP 5.3.8
    - MySQL 5.5.18
    - Windows Server 2008 R2
    - IIS 7.5
    - WordPress 3.2.1 (Network Enabled)

    I am having an issue with uploading files on the main site (sub-sites work perfectly). I moved the wp-content directory from /wp-content to /content. After making the transition, I cannot upload files, only on the main site. I have checked permissions on the directories, and they are correct. I have specified another upload location in the site settings (in network admin) and it starts working. However, I want the files where they currently are, so I need to figure out what's going on.

    Any thoughts on what might be happening?

    I suspect that it's a URL rewriting issue, but I cannot be sure/

  2. Aaron Wagner
    Member
    Posted 6 months ago #

    Point of clarification, The error message on the media upload screen just says "IO error". I have the following in my wp-config:

    define( 'WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'] . '/content' );
    define( 'WP_CONTENT_URL', 'https://'.DOMAIN_CURRENT_SITE.'/content');
  3. Aaron Wagner
    Member
    Posted 6 months ago #

    Another Update:

    For some reason it started working again. Not sure what I did to change anything, but it's working

Reply

You must log in to post.

About this Topic