Yes, I can change these in the .htaccess file. I have tried to add the line:

RedirectMatch "^\/\.well-known(.*)$" "\/\/\.well-known$1"

But that did not fix the problem.