Welcome to WebmasterWorld Guest from 54.156.92.140

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Tons of 404 (error hits) on local images

After changing hosts

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

New User

10+ Year Member

joined:Sept 8, 2005
posts:35
votes: 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)

Senior Member

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

joined:Mar 31, 2002
posts:25430
votes: 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.

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

Senior Member from US 

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

joined:Nov 29, 2005
posts:7658
votes: 520


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)

New User

10+ Year Member

joined:Sept 8, 2005
posts:35
votes: 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)

Senior Member

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

joined:Mar 31, 2002
posts:25430
votes: 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.

Jim