Step 1: Click on the Firefox Control icon on the top right of the window and select the Options gear icon from the drop down menu.
Step 2: Select Privacy if it is not already selected.
Step 3: Select Use custom settings for history in the “Firefox will:” drop down menu of the History section.