Welcome to WebmasterWorld Guest from 54.145.246.183

Forum Moderators: Ocean10000 & incrediBILL & phranque

Tons of 404 (error hits) on local images

After changing hosts

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

5+ Year Member



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)

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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.

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

WebmasterWorld Senior Member tangor is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



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)

5+ Year Member



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)

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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.

Jim
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month