[NSFW] path difference in uploads folder? (5 posts)

  1. vwallace
    Posted 3 years ago #

    The homepage of my blog displays all content correctly. However, when I view the permalink version of individual posts, images fail to load. For whatever reason, WordPress is appending the path to the uploads folder after the permalink.

    Correct Image URL: http://domain.com/blog_folder/wp-content/uploads/2013/01/file.jpg

    Where the individual post is trying to call the image from: http://domain.com/blog_folder/2013/01/16/post-name/wp-content/uploads/2013/01/file.jpg

    Any suggestions on where I can fix this so it uses the correct path? Any idea why the individual post page would be looking in a different place than the blog index?


  2. Daiv Mowbray
    Posted 3 years ago #

    Can you post a real sample, like the actual url?
    It could be your theme, try switching to the 2012 theme to test.

  3. vwallace
    Posted 3 years ago #

  4. Daiv Mowbray
    Posted 3 years ago #

    so on the home page you have images with their source set to :
    and on the sub pages such as this:
    the image source is set to:
    So the images are always coming with the same path.
    you must then have an error in your system set up.
    My guess is that you have the WordPress installed in the folder http://cameraclubny.org/ccny_blog but you probably have your WordPress Address (URL) and
    Site Address (URL) set incorrectly. In your case they should both be set to: http://cameraclubny.org/ccny_blog

  5. Daiv Mowbray
    Posted 3 years ago #

    If this is not the case, and the change does not fix your issue, try switching to theme 2012 and test. If issue is fixed, then your theme is the problem. Most would normally display images with the full source path including the domain. ie: src="http://www.domain.com/install/wp-content/uploads/2012/11/image.jpg"

Topic Closed

This topic has been closed to new replies.

About this Topic