Disable Swipe Between Pages on macOS

Here’s how to never accidentally two-finger scroll back to the previous page again:

  1. Go to Settings > Trackpad > More Gestures
  2. Change Swipe between pages to Off.
In macOS Settings > Trackpad > More Gestures, change the setting "Swipe between pages" to "Off".