Hello,
I have exactly the same problem. Everything works fine and it can happen once a week or every two weeks, there is no regularity to it. All categories also give a 404 error. Clearing the cache both on the site and on the server does not help. The only way to deal with this is to go into the link structure and save, and then everything gets sorted out.