What's the best fastener for a carpet that won't cause unraveling?
You want to use carpet staples, and if your carpet is heavy you want to use a lot of them.  If it is heavy and permanent then use glue also.