How to Turn Off the Back and Forward Trackpad Gestures on a MacHow to Turn Off the Back and Forward
we provide a nice overview of them here. You can even use Trackpad gestures in the Finder’s preview pane.
Today we want to click on the “More Gestures” tab, then uncheck the box next to “Swipe between pages” to disable the aforementioned feature.

Alternatively, if you like this feature but find you often activate it too often, then you can change it from two fingers to three, or you can change it to two or three fingers.

That’s all there is to it. If you decide you do like this swipe feature and you want to restore it, simply go back into the Trackpad settings and turn it back on.