Images give me a 404 error when the url is correct.
-
I have written a custom template page that loads images that I place directly into a folder via FTP. I don’t want any of the extra overhead of thumbnails or wp_post records. My template knows how to find the files and creates the <img src=’…’> tag just fine. The links are correct, but the files don’t show up on the production site, although it worked fine on my wamp localhost version. If I copy and paste the url into a new tab, I get the 404 page of my theme, even though I’m certain it’s there. I checked the read permissions of the folder and files and everything is fine. All images uploaded via the WP media uploader show up.
Does anyone know what difference between wamp and the production server would case this issue?Thanks.
- The topic ‘Images give me a 404 error when the url is correct.’ is closed to new replies.