How to stop Safari reopen on last page

When I quit Safari, and then reopen it, it returns to the last page viewed, and not to the Top Sites view, as I have configured in Preferences. Is this part of the new Resume feature of Lion, and if so, how do I turn that off?

MacBook Pro, Mac OS X (10.7)

Posted on Jul 23, 2011 11:32 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 29, 2012 1:59 AM

I don't think you have to use terminal and I don't think this is a bug. If you go into System Preferences and then General you will see a checkbox that says:


Close windows when quitting an application

When selected, open documents and windows will not be retored when you re-open an application


This worked perfect for me. I checked the box and now my homepage loads and nothing retores.

67 replies

Jul 29, 2011 3:14 AM in response to David.Anthony

I am totally confused by this thread. I have my Safari set to open my home page with a new window. So, no matter what the last viewed page was, whenever I close Safari (either by red button or cmd-q) it always re-opens with my home page, not the previously viewed page. I also have the 'restore windows....' option unchecked.

I can't replicate the issue you guys are having at all.

Aug 9, 2011 2:32 PM in response to HippopotamusMan

I just performed the uncheck procedure and it appears to have solved the problem with both Safari and Preview. I quit and relaunched and neither application reopened the last window(s).


Agreed that this is a *stupid* feature. For example, I upgraded Office 2011 for Mac, and after the whole install, restart procedure when I relaunched Safari, the Office download page was the last page visited -- so it started downloading a huge file that I did not need a second time.


"Yeah, but your scientists were so preoccupied with whether or not they could, they didn't stop to think if they should." -- Jeff Goldblum in Jurassic Park

Aug 9, 2011 2:41 PM in response to Ohiowordguy

Not everyone is exposed to the bug, obviously.


I wouldn't call it a stupid feature at all (I have no use for it personally), but I strongly disagree with making it the DEFAULT behavior. Very bad.


By the same token I should not have to uncheck the "Reopen windows when logging back in" box every **** time I shut down or reboot. Again, this shouldn't be the DEFAULT behavior. I find it hard to believe that MOST people would want all their apps relaunching after a restart.

Sep 8, 2011 11:56 AM in response to rshillington

Hi,


I've tried the defaults write com.apple.Safari ApplePersistenceIgnoreState YES as suggested by various people and I get "Could not write domain /Users/userid/Library/Preferences/com.Apple.Safari.plist; exiting.


I tried resetting Safari, it came back with four windows open from a session the day before yesterday. Is it possible that somehow, file permissions have got messed up somehow.


If I go into System Preferences -> General, and take the tick out of "Restore Windows when quitting and re-opening apps", open Safari and then go back to System Preferences -> General, the tick is back in the box.


Since upgrading to Lion, some strange things have been happening with folders in my Movies and Documents folder. If I copied a file to one of these folders, it would not inherit the permissions of the folder. I had to change the permission of the file manually.



Thanks

Luca

Nov 2, 2011 10:02 AM in response to markfalta

Whilst this is a solution it's far from elegant or indeed intuitive, two things that we expect from Apple. Moreover the problem effects mor than just Safari it also effects Preview, Microsoft Office, Photoshop (all of CS actually), Acrobat, etc, etc.


Are all Apple users really expected to muck around at the command line ?

It strikes me that things are going backwards !

Nov 5, 2011 8:27 AM in response to rshillington

I just upgraded to OS X Lion a couple of weeks ago and this problem of all windows opening that were last open when you shut the app down started after the upgrade. We shouldn't have to type commands in terminal or hold down certain keys when closing apps to make it work. The check box in General Prefs should be all that's needed, but as others have noted this seems to have no effect. The Windows open whether the box is checked or not. The command line appears to be required for every app... who wants to take the time to do that.


In general, I have been very disappointed with OS X Lion. It brings a bunch of behavior changes that seem to reduce usability, takes longer to boot up, has lots of freezes (especially Safari), and is generally buggy.


Several people have asked whether OS X Lion is Apple's Vista. I'm starting to think so. I'm seriously considering downgrading my computer to OSX Snow Leopard (which I was very happy with). This means backing up all my data, restoring OSX Leopard from the disks and then reloading my data and reinstalling apps that I installed after I got my computer. This is a lot of work but I'm so frustrated that it might be worth it.

Jan 4, 2012 8:13 AM in response to markfalta

Thanks. That did the trick. I've been annoyed with this behavior since I upgraded to Lion and searched in vain in Safari Preferences -- where there should have been an option in the first place. Sometimes I have a dozen tabs open in Safari and don't want them all to reappear the next time I open. I'm a big OS X fan in general but I must confess that this one left me wondering what Apple was thinking.

Jan 4, 2012 10:50 PM in response to gregor64

Thanks for all of the advice everyone, but none of it is working for me.


On my MBPro: for about a month, everytime I open up Safari, this one website that I was on keeps opening. Safari doesn't load the last page that I was on, say the same day or the day before, but the one from a month ago. It doesn't matter how I close it, or if I restart my computer. I've even gone through 2 Safari updates since I first had the problem.


Is there a way to completely reset the settings in Safari so it just forgets where it's been?


Thanks

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.

How to stop Safari reopen on last page

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