My early '74 260Z 2-seat had rubber backed loop pile. It was the grey rubber backing that was the problem, by the time the car was about 20rs old it was perishing/disintegrating leaving rubber crumbs all through the floor area, PITA. Looked much like in AndBir's lower photo only worse.
Ditto above posts, there are press studs at the front, and slots at the back, to hold the carpet in place.
I just got a trimmer to make up new panels using loop pile with bound edges. Total 5 panels - pr in front, pr small pieces behind seats, and a one-piece for the cargo deck. Being an early car that's the limit of the carpet, the rest is vinyl.
The 4 floor panels have a fibrous underlay material glued to the backs for sound deadening. Didn't cost much to have made as they are simple flat panels.