(doesn't work, the page is loaded, but the images don't)
Probably because your links are relative (doesn't begin with a /
) and when you have that extra slash after /food
, it changes the URL base (tries to access images in a non-existent /food/
directory). Change all your links to absolute URLs or add a base in the page header:
<base href="/" />