WordPress.org

Forums

Media Library and subfolders (1 post)

  1. oliversos
    Member
    Posted 2 months 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?

Reply

You must log in to post.

About this Topic