history disappears after restarting computer

I have a MacBook Air ( about 2 years old), where the history is not saving. Whenever I shut off or restart my laptop, the history in safari disappears. However, history from a few months ago shows up. The bookmarks that I have saved recently still appear and are saved, but its only affecting the history. I think this history is from the time when I restored my laptop to a previous date because something was not working. However, now whenever, I shut off my computer all the recent history that I had disappears and it goes back to December 2014( which was when I backed up my computer). I thought it was the Preferences of Safari, but when I looked there, it was already set to Manually remove history so its not that. I also tried to delete the history from December 2014, and it disappears until I restart my computer again and it shows up. Is there anyway to prevent this from happening? I don't mind if the history from December 2014 still shows up, but I really want the history from now on to be saved. Please help!

iPad Air, null

Posted on Aug 5, 2015 1:19 PM

Reply
2 replies

Aug 5, 2015 1:39 PM in response to thp93

Back up all data before proceeding.

Triple-click anywhere in the line below on this page to select it:

~/Library/Safari

Right-click or control-click the line and select

Services Open

from the contextual menu.* A folder named "Safari" should open. Quit Safari if it's running. One or more files in the open folder should have a name beginning in "History". Move those files, and only those, to the Desktop, leaving the window open. Relaunch the application and test. If there's no change, quit again and put the files you moved back where they were, overwriting the ones that may have been created in their place. Otherwise, delete the files you moved. The browser history will be empty. If possible, restore the deleted files from a backup that predates the problem.

*If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select

Go Go to Folder...

from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

history disappears after restarting computer

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.