None of the scenes in Casablanca are filmed in Casablanca. The Rick's Bar scenes were filmed in the Casino in Marrakesh and the external scenes in Tangiers. The writers just thought Casablanca had a more romantic sound as a film title.