WordPress.org

Ready to get started?Download WordPress

Forums

Media Library and subfolders (1 post)

  1. oliversos
    Member
    Posted 1 year ago #

    I'm noticing something weird going on with my media library subfolders. So by default, when you upload an image through the Media Library, the URL of the image becomes /wp-content/uploads/year/month/filename.gif

    This is correct, when you try to access the file via http://www.sitename.com/wp-content/uploads/year/month/filename1.gif the image appears.

    However, if you type in the following URL, the image shows up around my site's template...it's almost like the image was created as a post: http://www.sitename.com/filename1/

    I would like it to go to a 404 page, because technically, that url shouldn't exist. Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic