• I have been working with WordPress for sometime now and I’ve been reading a lot about how the autosave is such a pain in the a** when writing and editing, and it is! It autosaves every 3 seconds and jumps up to the top of the age we have to scroll back down to look for where we left off, this is a very annoying waste of time.

    I’ve tried the plugin wp cms post control – doesn’t work.

    I’ve tried what’s on https://www.ads-software.com/support/topic/295244?replies=10 – doesn’t work.

    I’ve tried what’s on https://www.untwistedvortex.com/2008/06/27/adjust-wordpress-autosave-or-disable-it-completely/ – doesn’t work.

    I’m fed up, what does work already?! I see a lot of other solutions, but I’ve lost patients already, I was hoping someone had some insight on this problem and has found what really works.

    Sorry gang, I’m venting. Don’t mean to come across as a jerk, but really, when will WP have this as a setting under ‘writing’ anyway?

Viewing 15 replies - 1 through 15 (of 18 total)
  • Please post your wp-config.php file here, without your database password info of course, and maybe someone can spot the problem.

    Thread Starter christernyc

    (@christernyc)

    Thanks for your reply Michael.

    I never given this info on a forum before, I hope I wasn’t ‘over paranoid’ by holding back too much info, while at the same time I’m nervous maybe I didn’t.

    Here you go –

    <?php
    
    /**
    
    * The base configurations of the WordPress.
    
    *
    
    * This file has the following configurations: MySQL settings, Table Prefix,
    
    * Secret Keys, WordPress Language, and ABSPATH. You can find more information by
    
    * visiting {@link https://codex.www.ads-software.com/Editing_wp-config.php Editing
    
    * wp-config.php} Codex page. You can get the MySQL settings from your web host.
    
    *
    
    * This file is used by the wp-config.php creation script during the
    
    * installation. You don't have to use the web site, you can just copy this file
    
    * to "wp-config.php" and fill in the values.
    
    *
    
    * @package WordPress
    
    */
    
    // ** MySQL settings - You can get this info from your web host ** //
    
    /** The name of the database for WordPress */
    
    define('DB_NAME', 'xxxxxxxxxxxxxxxxx');
    
    /** MySQL database username */
    
    define('DB_USER', 'xxxxxxxxxxxxxxxxx');
    
    /** MySQL database password */
    
    define('DB_PASSWORD', 'xxxxxxxxxxxx');
    
    /** MySQL hostname */
    
    define('DB_HOST', 'xxxxxxxxxxxxx.db.xxxxxxxx.hostedresource.com');
    
    /** Database Charset to use in creating database tables. */
    
    define('DB_CHARSET', 'utf8');
    
    /** The Database Collate type. Don't change this if in doubt. */
    
    define('DB_COLLATE', '');
    
    /**#@+
    
    * Authentication Unique Keys.
    
    *
    
    * Change these to different unique phrases!
    
    * You can generate these using the {@link https://api.www.ads-software.com/secret-key/1.1/ www.ads-software.com secret-key service}
    
    * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
    
    *
    
    * @since 2.6.0
    
    */
    
    define('AUTH_KEY', '_8G*y1xxxxxx@G)xxxxxxxx');
    
    define('SECURE_AUTH_KEY', '_8G*yxxxxxxx@G)xxxxxxxx');
    
    define('LOGGED_IN_KEY', 'DkT3 /kk/O7*xxxxxxx)bf');
    
    define('NONCE_KEY', '$J98Mja9zqbS+xxxxxxxxx');
    
    /**#@-*/
    
    /**
    
    * WordPress Database Table prefix.
    
    *
    
    * You can have multiple installations in one database if you give each a unique
    
    * prefix. Only numbers, letters, and underscores please!
    
    */
    
    $table_prefix = 'wp_';
    
    /**
    
    * WordPress Localized Language, defaults to English.
    
    *
    
    * Change this to localize WordPress. A corresponding MO file for the chosen
    
    * language must be installed to wp-content/languages. For example, install
    
    * de.mo to wp-content/languages and set WPLANG to 'de' to enable German
    
    * language support.
    
    */
    
    define ('WPLANG', '');
    
    /* That's all, stop editing! Happy blogging. */
    
    /** Absolute path to the WordPress directory. */
    
    if ( !defined('ABSPATH') )
    
    define('ABSPATH', dirname(__FILE__) . '/');
    
    /** Sets up WordPress vars and included files. */
    
    require_once(ABSPATH . 'wp-settings.php');

    Thanks again!

    You don’t have the AUTOSAVE_INTERVAL defined in your wp-config.php. You’ll need to add it.
    define( 'AUTOSAVE_INTERVAL', 300 );
    This will change it to every 5 minutes.
    https://codex.www.ads-software.com/Editing_wp-config.php#Modify_AutoSave_Interval

    Thread Starter christernyc

    (@christernyc)

    hmm, thanks. I’ll give it a try, much appreciated!

    Thread Starter christernyc

    (@christernyc)

    Not working, where do I put the code define(‘WP_POST_REVISIONS’, false ); in my wp-config.php?

    Thanks again

    Disabling post revisions won’t stop the autosave. You need to add the define I had in my first post. You can change the 300 to any value you like in seconds.

    That’s what confuses people. The autosave revisions are completely different than the post revisions and are controlled by separate pieces of code.

    Thread Starter christernyc

    (@christernyc)

    Is there are particular place I need to put it in my wp-config.php file? define( ‘AUTOSAVE_INTERVAL’, 300 ); is still not working. I put it under define (‘WPLANG’, ”);

    I use Dreamweaver, and oddly, it’s deading the whole page and telling me I am using Invalid markup.

    As long as it’s above the part that loads wp-settings. Your code will change the autosave interval to 5 minutes. The code at https://www.untwistedvortex.com/2008/06/27/adjust-wordpress-autosave-or-disable-it-completely/ is a plugin that disables it.

    With post revisions, you can add define(‘WP_POST_REVISIONS’, false ) right under or where you would put the autosave interval.

    I disable both on all my blogs, but I have one that doesn’t want to behave (it’s a mulit-author blog) no matter what I do, but the autosave interval is set to 300 (5 minutes) so it isn’t too bad.

    Thread Starter christernyc

    (@christernyc)

    Hey RT,

    Sorry to take so long toget back, and I thank you for all your help.

    As far as the plugin method you mention above, I’ve tried it already with no success. I will try again and get back to you.

    Thanks again, will report in soon

    Thread Starter christernyc

    (@christernyc)

    Hi Gangleri,

    Thanks, will give them a go. I’ve got them installed but I’m not sure if I should activate both at once, or try one at a time.

    Thanks!

    I use Dreamweaver, and oddly, it’s deading the whole page and telling me I am using Invalid markup.

    you must use a plain text editor like notepad

    Thread Starter christernyc

    (@christernyc)

    Ah samboll, I will use that method then to see what happens, thanks

    Thread Starter christernyc

    (@christernyc)

    Hi guys,

    Thanks for all your help, I’m sorry to not come back in awhile for an update with the progress of this thread, and an update of what’s working or not.

    Well, nothing has worked for me. I’ve tried all the techniques mentioned in the thread.

    BUT, something actually DID work. I don’t know what did though…

    You see, I do all my page writing and editing in ‘html’ mode. I noticed that when I do go to ‘visual’ the the auto save has been turned off, so again, I don’t know what procedure did it.

    Now my question and problem is this. How to I stop it from jumping up to the top of the page while editing in ‘html’ mode? It clearly isn’t autosaving, but it is jumping up with every key stroke.

    Thanks!

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Turn off the autosave already!!!’ is closed to new replies.