Go to your WordPress Dashboard -> Settings -> Permalinks. If you choose a “Custom Structure” for your permalinks, then you can either include or remove the trailing slash at the end.