Blog

How to disable Autosave on Wordpress

SEARCH

About US

Hooked Web Design is the online home of Nabil Sayagh, a creative freelance web designer and web developer based in Long Island New York. As a web designer, I am passionate about web design and website development, branding and advertising material, and i thrive on designing simple, clean attractive websites that fully comply with today’s XHTML web standards for my clients. My team and i are located all over Long Island, New York, and our primary expertise is in front end web design; XHTML, CSS, Web Design Standards, Javascript, and over all user experience.

What are we up to?

Powered by Twitter Tools

Disabling the Autosave Feature on Wordpress

Posted in: Blog, Wordpress by admin on May 23, 2009

One of the features of Wordpress (version 2.5 to 2.7) is the Autosave feature. Many bloggers might find this feature attractive and swear by it’s functionality, since it allows to track changes in a post. I, however find it very annoying, and want to disable it. This post will discuss how to successfully do so.

The Autosave feature in Wordpress prevents bloggers from loosing their work by saving their blog edits. On the downside, every time you hit preview or save draft, Autosave drops and cancels the most recent edits you have made to your post. So often times you find yourself posting inacurate and or incomplete blog posts and pages without even knowing about it.

During my quests to disable Autosave forever i found quite a few methods to accomplish this goal.

1) Disable Autosave by tweaking some wp-admin/ directory files

Find the following four files in the wp-admin/ directory of your WordPress installation:

  • page-new.php
  • page.php
  • post-new.php
  • post.php
  • and comment out the following line:

    wp_enqueue_script(’autosave’)
    by changing it to:

    //wp_enqueue_script(’autosave’)
    This will disable the autosave feature in the WordPress user interface.

    I love this method, and it works just fine, however if you are not too familiar with .php files there is another method.

    2) Disable Autosave with the use of a plugin:

    if you’ re not comfortable with PHP or your files, then you can also turn off Autosave Feature with this Handy little plugin.

    This plugin allows you to:

  • Turn off the revisions feature completely, some people don’t want to use this. This is great when you are developing a site - why clutter up your database with loads of revisions when you don’t need them! Just turn them off whilst you are developing the site, then turn back on if you want the functionality back on site launch!
  • Turn off the auto save feature, some people have problems with this or don’t wish to be interrupted as they type.
  • That’s all folks

    Comments

    23 Comments
    1. Great post! Just wanted to let you know you have a new subscriber- me!

      Comment by AndrewBoldman on June 4, 2009 at 2:46 pm

    2. The article is ver good. Write please more

      Comment by Kelly Brown on June 12, 2009 at 1:38 pm

    3. Hi, very nice post. I have been wonder’n bout this issue,so thanks for posting

      Comment by JaneRadriges on June 13, 2009 at 6:57 pm

    4. You know so many interesting infomation. You might be very wise. I like such people. Don’t top writing.

      Comment by GarykPatton on June 16, 2009 at 3:40 am

    5. Thanks for post. It’s really good read.
      I really like to read http://www.hookedwebdesign.com!

      teeth whitening manchester

      Comment by paypepHyncbep on June 18, 2009 at 7:36 pm

    6. [...] Disabling the Autosave Feature on Wordpress hooked Web Design Posted by root 5 days ago (http://www.hookedwebdesign.com) May 23 2009 disabling the auto save feature on wordpress blog entry by hooked web design powered by twitter tools comment by andrewboldman on june 4 2009 at 2 46 pm name required mail will not be published required Discuss  |  Bury |  News | Disabling the Autosave Feature on Wordpress hooked Web Design [...]

      Pingback by Disabling the Autosave Feature on Wordpress hooked Web Design | outdoor rugs on June 18, 2009 at 9:53 pm

    7. That was a nice read.

      Comment by sunee on July 3, 2009 at 11:40 pm

    8. good information

      Comment by ririn on July 4, 2009 at 2:19 am

    9. good information to me

      Comment by maria on July 4, 2009 at 3:48 am

    10. great article. thanks!

      Comment by hanny on July 4, 2009 at 5:58 am

    11. Hi! I like your srticle and I would like very much to read some more information on this issue. Will you post some more?

      Comment by KonstantinMiller on July 6, 2009 at 11:46 am

    12. Some of us even don’t realize the importance of this information. What a pity.

      Comment by CrisBetewsky on July 6, 2009 at 12:04 pm

    13. It’s a pity that people don’t realize the importance of this information. Thanks for posing it.

      Comment by CrisBetewsky on July 6, 2009 at 1:22 pm

    14. Hi. I read a few of your other posts and wanted to know if you would be interested in exchanging blogroll links?

      Comment by Clifford on July 14, 2009 at 10:09 am

    15. Yes i Would Be interested

      Comment by admin on July 14, 2009 at 10:59 am

    16. very helpful post, you should post more stuff related to this.

      Comment by Clifford on July 15, 2009 at 1:14 pm

    17. Right-minded!
      Honourable with a view you beloved!

      Comment by ErarpNeriesor on July 17, 2009 at 12:22 pm

    18. Should have come to your blog first, I’ve wasted 30 mins searching around - Sigh* thanks anyway…

      Comment by Nathaniel on July 18, 2009 at 2:04 am

    19. Great post, thanks for sharing this with me :)

      I look forward to reading your future posts!

      Comment by Electronics on July 18, 2009 at 3:48 pm

    20. very helpful post, you should post more stuff related to this.

      Comment by Neil on July 21, 2009 at 12:53 pm

    21. An informative article. Thanks for sharing this post.

      Comment by Web Site Design Companies New York on July 28, 2009 at 3:05 am

    22. i like this site. i added on my bookmark i thanks

      Comment by web tasarım on July 29, 2009 at 4:48 pm

    23. Thank you for great post. I like it.

      Comment by Web Tasarim on July 30, 2009 at 1:35 am