WordPress.org

Forums

Networks for WordPress
Network 2, image URLs not resolving (7 posts)

  1. sharonmiranda
    Member
    Posted 1 year ago #

    Hi.
    Network: WP 3.3.1 Multisite,
    Network1, images resolve fine
    http://domain1.com/wp-content/uploads/2012/01/collage.jpg
    Network2, images do not resolve
    http://domain2.com/wp-content/blogs.dir/2/files/2012/01/CoC_header.png yields
    'page not found'

    Image cannot be seen anywhere until you 'edit image'.

    I reviewed similar posts but find no answer.

    http://wordpress.org/extend/plugins/networks-for-wordpress/

  2. David Dean
    Member
    Plugin Author

    Posted 1 year ago #

    Based on the filesystem paths, and the configuration of domain2.com in your webserver, should that image resolve? Also, I'm assuming other parts of the site on domain2.com work OK? Like content and css files?

    If the blog_id for the root site at domain2.com is NOT 2, I'd be happy to help you troubleshoot this.

  3. sharonmiranda
    Member
    Posted 1 year ago #

    Every other aspect so far, content and css are fine.
    http://chamberofcommons.com/
    blog_id for domain2.com IS 2.

  4. sharonmiranda
    Member
    Posted 1 year ago #

    Still unresolved. David, you asked whether the image should resolve based on the file system paths. Is there a reason you think not? It is the file system path set by plugin: Networks for WP.

  5. David Dean
    Member
    Plugin Author

    Posted 1 year ago #

    No, but your web server might be directing requests differently based on the domain name being used.

    I took a look at the site you linked to, but couldn't see any instance of its even trying to load an uploaded image. If what you posted is a valid path, you'll be able to access it via domain1.com. I'm wondering if domain2.com has the same .htaccess rules as domain1.com.

    If you CAN access it via domain1.com, check your server configuration. If you CAN'T, then the path or filename is wrong.

  6. sharonmiranda
    Member
    Posted 1 year ago #

    You see no images on the site because I hid pages that are attempting to display images.

  7. sharonmiranda
    Member
    Posted 1 year ago #

    I discovered the answer in wordpress support: http://wordpress.org/support/topic/why-is-blogsdir1files-visible-in-file-urls/page/2?replies=54

    To summarize: change Upload Url Path (of the subnetwork parent sites) to use the same as Fileupload Url

    The problem remains that each subnetwork parent will have to have this done manually.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic