Apparently, double sided sticky tape put on the area can stop them. Never done it as seems a bit cr*p to have sticky carpet/sofa. You could try putting catnip on the scratching post or spraying the cat with water when it starts to scratch? The last one will take a while to work, but eventually will - although your cat may just choose somewhere else!