How to Speed Up WordPress Site

This is just an outline in how to speed up your WordPress site.

Find an excellent web host.

No matter what you do or what plugins you have, if your web host’s performance is poor, you would likely get what you paid for.

These are the web hosts I recommend as per our experience:

  • (for managed hosting; what can you say: “love your own.”)

Some things you can do in your WP-Config file:

# Disables all core updates. Added by BrodNeil
define( 'WP_AUTO_UPDATE_CORE', false );

Add the line above to disable all core updates.

# Empty trash after 7 days. Added by BrodNeil:
define( 'EMPTY_TRASH_DAYS', 7 );

Add the line above to empty trash after 7 days. You can change the value of 7 to 3, that is if you want to empty trash after 3 days.

# Limit post revisions to 3 by BrodNeil:
define( 'WP_POST_REVISIONS', 3 );

Add the line above to limit the post revisions being saved to 3. I think the default is unlimited.

Note that the Added by BrodNeil can be replaced by your name. This just helps me who added the line in our team.

Apply a leverage browser caching in your .htaccess

Go to CPANEL > File Manager.

Look for the .htaccess file. Make sure that you allow to show hidden files.

Add the lines below to your .htaccess file.

# Leverage Browser Caching
<IfModule mod_expires.c>
    ExpiresActive on
    ExpiresDefault                                      "access plus 1 month"
  # CSS
    ExpiresByType text/css                              "access plus 1 year"
  # Data interchange
    ExpiresByType application/json                      "access plus 0 seconds"
    ExpiresByType application/xml                       "access plus 0 seconds"
    ExpiresByType text/xml                              "access plus 0 seconds"
  # Favicon (cannot be renamed!)
    ExpiresByType image/x-icon                          "access plus 1 year"
  # HTML components (HTCs)
    ExpiresByType text/x-component                      "access plus 1 month"
  # HTML
    ExpiresByType text/html                             "access plus 0 seconds"
  # JavaScript
    ExpiresByType application/javascript                "access plus 1 year"
  # Manifest files
    ExpiresByType application/x-web-app-manifest+json   "access plus 0 seconds"
    ExpiresByType text/cache-manifest                   "access plus 0 seconds"
  # Media
    ExpiresByType audio/ogg                             "access plus 1 year"
    ExpiresByType image/gif                             "access plus 1 year"
    ExpiresByType image/jpeg                            "access plus 1 year"
    ExpiresByType image/png                             "access plus 1 year"
    ExpiresByType video/mp4                             "access plus 1 year"
    ExpiresByType video/ogg                             "access plus 1 year"
    ExpiresByType video/webm                            "access plus 1 year"
  # Web feeds
    ExpiresByType application/atom+xml                  "access plus 1 hour"
    ExpiresByType application/rss+xml                   "access plus 1 hour"
  # Web fonts
    ExpiresByType application/font-woff                 "access plus 1 month"
    ExpiresByType application/font-woff2                "access plus 1 month"
    ExpiresByType application/         "access plus 1 month"
    ExpiresByType application/x-font-ttf                "access plus 1 month"
    ExpiresByType font/opentype                         "access plus 1 month"
    ExpiresByType image/svg+xml                         "access plus 1 month"

Enable GZIP in your .htaccess

On the same .htaccess file, apply the following:

# GZIP enabled 
<IfModule mod_deflate.c>
    <IfModule mod_filter.c>
       AddOutputFilterByType DEFLATE "application/atom+xml" \
          "application/javascript" \
          "application/json" \
          "application/ld+json" \
          "application/manifest+json" \
          "application/rdf+xml" \
          "application/rss+xml" \
          "application/schema+json" \
          "application/vnd.geo+json" \
          "application/" \
          "application/x-font-ttf" \
          "application/x-javascript" \
          "application/x-web-app-manifest+json" \
          "application/xhtml+xml" \
          "application/xml" \
          "font/eot" \
          "font/opentype" \
          "image/bmp" \
          "image/svg+xml" \
          "image/" \
          "image/x-icon" \
          "text/cache-manifest" \
          "text/css" \
          "text/html" \
          "text/javascript" \
          "text/plain" \
          "text/vcard" \
          "text/vnd.rim.location.xloc" \
          "text/vtt" \
          "text/x-component" \
          "text/x-cross-domain-policy" \

Apply GZIP Compression.

Go to your CPANEL, and look for Optimize Website.

Enable Compress Content > Compress All Content by clicking Update Settings.

Enable GZIP compression by

Have the latest or the recommended PHP version.

Go to your CPANEL.

Look for Select PHP Version or something similar like PHP configuration.

Make sure your plugins can work well with the version you are trying to activate.

Activate Cloudflare.

Go to your CPANEL.

Look for Cloudflare.

Use the FULL set up. You can find instructions in how to set up Cloudflare either from your web host or Cloudflare itself.

Install and activate these plugins:


This plugin helps you clean up your database easily without you going through the manual queries. If you are not familiar with how you can find the database, then having the plugin is much safer and easier.

P3 (Plugin Performance Profiler)

Directly, this plugin will not help in speeding up your site’s performance. However, this plugin allows you to check which plugins are slowing down the site. Helping you to take a better-informed decision.

SG Optimizer

SG Optimizer is one of the best easy-to-use performance plugin. It works perfectly well for websites hosted in SiteGround. SG Optimizer is built by SiteGround. SG Optimizer handles caching, system settings, and all the necessary configurations for a blazing-fast website including image optimization.


Like many other plugins, Autoptimize speeds up your website by optimizing JS, CSS, HTML, Google Fonts and images, async-ing JS, and more. Among the plugins we’ve tried, Autoptimize is best in resolving the Eliminate render-blocking resources in Google PageSpeed Insights.

Async Javascript

Async Javascript lets you add ‘async’ or ‘defer’ attribute to scripts to exclude. Use this with Autoptimize; it’s a perfect match.

Enable Hotlink Protection.

Go to your CPANEL and look for Hotlink Protection.

It prevents other websites from directly linking to files on your website. Therefore, the other sites may seem-like stealing your bandwidth. An example of hotlinking would be using a <img> tag to display an image from your site somewhere else on the net.

Enable it.

Images Not Showing in WordPress


  • Images are not showing in images.
  • But the path to the images via WP are correct.
  • Database path as well are correct.
  • Changing the theme does not help fix the issue.
  • Disabling all the plugin does not help as well in fixing the issue.
  • Upgrading the PHP was of not use.
  • Upgrading WP core and WP plugins are not much of help.

For some reasons I could not understand yet:

  • Activating Jetpack and enabling the features under Performance & Speed in Jetpack resolved the issue.

How To Transfer a Google Doc to a User with a Different Domain

Google does not allow the transfer of ownership of your Google doc, Google sheet, or Google form to a user with a different domain.

Example: [email protected] cannot transfer ownership to [email protected] because and are two different domains.

Here is a workaround and hopefully it will still be working by the time you are reading this post:

  1. Share your file (Google doc, Google sheet, or Google form) to the intended user with Edit capabilities or as Editor.

    Ex. [email protected] shares a file called file1 to [email protected]

  2. Ask that user to copy the file you shared in Google drive as a different file.

    Ex. [email protected] opens Google Drive and copies file1. And thus you will have two copies after, file1 and copy of file1, in Google drive after.

  3. Rename the copied file (optional)

    Ex. copy of file1 is renamed to file2.

  4. Open file2 and check the ownership under settings.

    Ex. Owner of file1 is [email protected], but the owner of the copied file, file2, is [email protected]

  5. You can share the new (copied) file to the previous owner if you still want to give that user an editing or viewing access(optional)

    Ex. Share file2 to the previous owner, [email protected]

The outcome would then be:

Video Marketing: Convert Your Articles into Videos

YouTube is now the second largest search engine; and video marketing is not stepping on the breaks. Video marketing is on the rise and here to stay.

Video marketing is said to improve your SEO and a higher user engagement.

Do you want to add a video on your existing articles and blogposts?  We can help you.

You simply have to do the following:

  1. Subscribe to a video marketing package.
  2. Wait for an email confirmation and a login access to our membership site.
  3. Send us your article(s) or post(s) that is 300-700 words through the membership site.
  4. Send us a picture or video clip to use through the membership site (optional).
  5. We will create a video based on your article or post.
  6. Cancel anytime.
  7. Once video is approved, you can no longer request for edit/change.  We don’t give refund.

Video Marketing Packages

Subscribing means that you agree to the terms of service.  Note that we reserve the right to edit/change the terms of service.