This is basically the same thing as redirecting non-www to www or vice-versa, and the same code can be used. In fact, some ways of coding such a domain canonicalization routine would automatically handle these mis-spells as-is, and no additional code would be necessary.
Jim
My host can't set it up corretly and some host say the redirect is set up as a 301 but when checked it is a 302 so I know just set them up on my server and do the 301 from it.
Not knowing how he is set up I suggest he check with his host on this and have make sure the redirects are set up as 301's. If they aren't then he may need his host add them to his server so he can do the 301's or ask his host to do it for him from his server.