How to speed up your site

Share on Twitter Share on Facebook Pin it

Did you know most people will only wait up to 2 seconds for your site to load?

If you’re struggling with slow loading times for your website, follow the tips I’m sharing over at Yes and Yes to boost your loading time.

Share on Twitter Share on Facebook Pin it

  • Lucie

    Hello Anouska,

    Thank you very much for this tutorial! Since I’ve heard that my site could be quite slow, I am glad that I found your tips.

    I have just one question: where should I put the code for the post revisions? I’ve found the folder but where exactly I should put it?

    Thank you and have a nice day,
    Lucie http://www.inbluebox.com

    • Hi Lucie,

      Thank you! I’m glad you’ve found this helpful.

      The code for the post revisions should be in the wp-config.php file. This file is in the root folder of your site (or the folder WordPress is installed in). Inside the file, make sure it’s after the

      < ?php

      code, and outside any comments (which look like

      /* comment */

      ).

      I usually put it after this part:

      < ?php
      /**
       * The base configuration for WordPress
       *
       * The wp-config.php creation script uses this file during the
       * installation. You don't have to use the web site, you can
       * copy this file to "wp-config.php" and fill in the values.
       *
       * This file contains the following configurations:
       *
       * * MySQL settings
       * * Secret keys
       * * Database table prefix
       * * ABSPATH
       *
       * @link https://codex.wordpress.org/Editing_wp-config.php
       *
       * @package WordPress
       */

      Just enter a new line below it and paste the code there. 🙂

      I hope that helps!