WordPress.org

Ready to get started?Download WordPress

Forums

404 pages not wanted (4 posts)

  1. catchmikey
    Member
    Posted 1 year ago #

    I'm new to the forum and so hello everyone.

    Within my wordpress site, I created a folder where I am trying to build a normal html website. I labeled it facebook. For some reason, the text will show on the page, but the images won't

    My images folder is located on and when I click to see the folders, I'm sent to a 404 page.

    Can't someone explain why? And how can I view the picture.

    I'm not sure how to fix this and would appreciate any advice. Thanks, Mike

  2. Shane Gowland
    Member
    Posted 1 year ago #

    I suspect this is .htaccess/permalink related. Your server is configured to automatically append a '/' to the end of all URL's. This causes the file "coke.jpg" to be inaccessible, as the server tries to deliver a file called "coke.jpg/" - Because this file doesn't exist, it throws a 404.

    HostGator will probably be able to help you out with this one. Otherwise; you might need to place your static content into a subdomain.

  3. decentguy49
    Member
    Posted 1 year ago #

    try to add / just before your image like

    <img src="/coke.jpeg" alt="wine image">

  4. catchmikey
    Member
    Posted 1 year ago #

    Hi Shane, decentguy, thank you both for your response. I think I need to contact hostgator for some help as adding a slash didn't solve the problem.

    I'll see if creating a subdomain will work in the meantime. Thank you

Topic Closed

This topic has been closed to new replies.

About this Topic