homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

Tons of 404 (error hits) on local images
After changing hosts

 9:42 am on Jan 8, 2011 (gmt 0)

I was viewing an AWStats log and found on 404 section that most error hits belongs to images locally hosted. Most are template images like /wp-content/themes/theme1/images/pic1.gif. I am using WordPress on my site.

I have also noticed that this 404 errors begun on the month when I transfered to a different web host. COuld it be an apache configuration? If so, how can I fix it? Thanks is advance.



 4:53 pm on Jan 9, 2011 (gmt 0)

There is no way we can tell from the information posted here...

Please tell us whether /wp-content/themes/theme1/images/pic1.gif is a correct URL-path, and if not, what the correct URL-path for that image should be.

It is possible that the configuration code supplied by WP might need to be adjusted for use with the new hosting company's servers.



 5:14 am on Jan 10, 2011 (gmt 0)

Locally? Is it possible we're looking dev (local) links embedded in active (hosted) pages? Made that mistake once!


 4:33 pm on Jan 11, 2011 (gmt 0)

Hi, the path was correct and the image was displaying fine when web site is viewed. But why am I getting the error 404 on those images.

Even images located on /public_html/images/ are getting 404 errors on logs. Tried calling these images using both relative and absolute URL paths but still getting the errors.


 5:08 pm on Jan 14, 2011 (gmt 0)

Some server configurations log the original status of an HTTP request -- the status indicated *before* any internal path rewriting is done.

Check your actual server response headers for these image requests using the "Live HTTP Headers" add-on for Firefox and Mozilla-based browsers. If the images are ataully returned with a 200-OK status, then contact your host and inquire as to why the server response status is 200-OK, while the logs indicate 404-Not Found.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved