Invalid link file

Viewed 129

When browsing most pages (the home page specifically), the site is generating an invalid link to an image file:

1 Answers

As discussed over chat, your Apache config has

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*[^/])$ /$1/ [L,R=301,NE]

What that does is that if a file doesn't exists, it is tried with a / appended at the end. That would mean that the png file you have actually doesn't exists and should give you 404, but this rules give you 301 with / appended and that then comes out as 404.

So the problem is simply the image is actually missing

Related