Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Rickard on May 26, 2017, 02:46:12 AM

Title: 404 attachments not found
Post by: Rickard on May 26, 2017, 02:46:12 AM
Hi.

Today i notices in google search console that there was a large increase of not found files in my forum www.varmepumpsforum.com , after a bit of research i find that the "missing files" (Links below the visual image)  have the extension .jpg and the attached files (that show in the forum) have got the extension .JPG

It seems that sometime in year 2009 the attachments started getting .JPG file ending, all "new" attachments links works, and none of the old ones (.jpg)

I dont know if there is a change made in SMT sourcecode, or if google are indexing more files now then they have done earlier, but i think there has been a change in how SMF links to the attachments.

I have Resize Attached Images 2.4.1 installed since many years, the changed file endings might have come when i installed this mod, but this doesnt explain why googles "not found" images rised from about 400 to more then 2800 pieces in the end of march this year.

Any ideas?
Title: Re: 404 attachments not found
Post by: Kindred on May 26, 2017, 06:17:23 AM
attachment file extensions were indeed removed (as a security protection) - which means that any old links to .jpg files would be broken. yes.

this is not a new thing... as you noted, this is almost a decade old at this point...
Title: Re: 404 attachments not found
Post by: Rickard on May 26, 2017, 07:42:06 AM
Yes, but why is google finding the broken links all of a sudden?
I guess it affects my pagerank to have 2800 broken links in the forum...