WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Pictures fail to show due to switching pathway - Image File vs Attachment Page (3 posts)

  1. stargazer713
    Member
    Posted 1 year ago #

    Occasionally, website loads all pictures with wrong pathway, and they do not display.

    Problem occurs occasionally but only when viewing a post that has never been loaded before.

    I choose to link to image file when uploading, ie: "http://website.com/wp-content/uploads/year/month/name.jpg"

    But when problem occurs, the pathway shows "attachment page" style, ie: "http://website.com/page_name/sony-dsc-21/"

    This problem corrects itself only if the page is refreshed. It seems to occur randomly, and has happened to other people who is visiting my site.

    Any idea why it is occurring? Website in question: http://0thmirageknight.com/

  2. stargazer713
    Member
    Posted 1 year ago #

    Identified another kind of error, images may not show when it tries to load the pathway with a wrong date:

    http://website.com/wp-content/uploads/year/month(_wrong)/name.jpg

    then when I refresh the page, it changes itself:

    http://website.com/wp-content/uploads/year/month(_correct)/name.jpg

    Why is this happening? Could it be cache or something else?

  3. stargazer713
    Member
    Posted 1 year ago #

    Deleted the plugin WP Cache and it works now

Topic Closed

This topic has been closed to new replies.

About this Topic