WordPress.org

Forums

[resolved] Images broken, not being properly redirected? Image URL outputs text (4 posts)

  1. ctwigg
    Member
    Posted 11 months ago #

    When I'm attempting to work on a subdirectory site, I have been uploading images into the media library, but when I go through to see the full-size image, it's broken.

    The link my browser is: http://MYDOMAIN.com/SUBSITE/wp-content/uploads/sites/2/2014/08/IMAGE.jpg

    But instead of serving up an image OR a 404, it prints out this text:

    ../../../SUBSITE/wp-content/uploads/sites/2/2014/08/sites/2/2014/08/IMAGE.jpg

  2. Mike Price
    WP Engine Tech Support
    Posted 11 months ago #

    Hey there!

    This is usually due to an issue with your rewrite rules in your .htaccess file. Go ahead and double check that file and compare it to what rules are needed for WordPress multisite subdirectory here:

    http://codex.wordpress.org/htaccess

    Let me know if you need further help!

  3. ctwigg
    Member
    Posted 11 months ago #

    It turns out that this was the fault of the Watermark plugin: http://wordpress.org/plugins/alti-watermark/

    I had done all the htaccess fixes and checks and it was driving me nuts. The Watermark plugin was active *only* on the base site (not network activated) and it completely broke all images in all sub-sites.

  4. Mike Price
    WP Engine Tech Support
    Posted 11 months ago #

    Wow, so weird and not a very nice plugin..it probably wasn't built/coded for Multisite. Glad you found the issue!

Reply

You must log in to post.

About this Topic

Tags

No tags yet.