After installing WordPress, your site working fine, but its loading time, Google Pagespeed tool and Gtmetrix results (Page speed and YSlow grade) are not so impressive as you imagined, then It’s time for a WordPress optimization to improve your site performance.
As we know, Everybody wants a faster website while surfing on the Internet, and site speed also a ranking signal. You can optimize your WordPress blog to make it faster. Here are some simple and advanced WordPress optimization tips that will improve your site performance and decrease page load time.
Most hosting providers (Bluehost, Dreamhost, Hostgator and Inmotion hosting) offer the best environment for a WordPress site and they also offer one click WordPress setup and pre-installed WordPress options, It means installing WordPress is not a challenging task. If you’re thinking Your site hosted by Recommended WordPress hosting or leading web hosting provider, so it doesn’t need it, then you are wrong. You will still need to do WordPress optimization. Recommended WordPress only means you have a right WordPress environment.
Basic optimization tips
- Delete unused WordPress Themes and plugins
- Add Favicon and Touch Icons
- Update WordPress, Theme and Plugins to latest available version
- Empty you draft and trash
- Turn off Pingbacks and Trackbacks : uncheck on Setting >> Discussion
- Use WP optimize plugin to optimize your database
- Don’t use official social media widgets and buttons, they can increase page loading time, because they call request to external server.
Advanced tips for WordPress optimization
The best and simple optimization tips to improve self-hosted WordPress site’s response time and performance.
Choose the Best and Recommended WordPress hosting
There are so many hosting provider companies that offer cheap WordPress hosting, so choosing a hosting provider is a most challenging task. After choosing a hosting company, it’s also important to choose the right hosting package plan that will cost under your budget and worth more than plan’s price. If you are a beginner or your website receives low traffic, then we strongly recommend that you go with a shared hosting plan. The VPS plans are best for the fastest growing website and a VPS server can handle lots of traffic compared to shared hosting plans. Here is a list of the best and fastest hosting service provider for WordPress : —
Use a Content Delivery Network (CDN)
- AMAZON CLOUD FRONT
- PHOTON CDN (inside Jetpack plugin)
New to CDN or don’t have the budget for CDN, then you can start your CDN experience with the Photon CDN plugin included in Jetpack plugin. It is a free CDN powered by EdgeCast and you can activate it from the Jetpack dashboard in WordPress.
Use fastest loading WordPress theme
Self hosted WordPress site speed also depends on the theme that you are using. Badly coded theme can cause a lower page speed score, and poor search engine performance. Theme design also affects site loading time. For higher performance choose a well coded and responsive theme (optimized for mobiles, tablets and desktops) and also check that theme’s Google pageSpeed and Gtmetrix score.
Use a Caching Plugin
Using a caching plugin is very effective on page loading time. It can reduce page loading time by up to 200%. A caching plugin creates a static version of Wordpres resources and serving it to users without requesting these from your site’s database each time. Use W3 Total Cache, the most popular caching plugin, which offers best optimization features such as Caching of feeds, compressing essential files, minification, Gzipping and CDN support. After installing this plugin, activate the W3 Total Cache features listed below :–
- Enable Page Cache, Minify, Database cache, Object cache, Browser cache, CDN (if you are using)
- Enable Gzip Compression
- Set Expiry Headers for Static Content
Optimize your site images
Images are the most important part of a post, because they represent what this article is about? And are responsible for social media shares. But some side effects of the image are that they take up a lot of storage space and also take a long time to load. Before uploading your images in the site, you can compress it by using photoshop’s “save for web” option. For server side optimization of images you can use WP Smush.it and WP lazy load plugin. Use web optimized image formats such as JPEG, PNG etc.
Remove unnecessary meta tags from header
If you are using Yoast WordPress SEO then you can remove unnecessary meta tags easily. For Remove unnecessary meta tags from the header go to your WordPress dashboard and login and select SEO option>> Titles & Metas>> Clean up the head>> Check on Hide RSD Links, Hide WLW Manifest Links, Hide Shortlink for posts and Hide RSS Links.
Change the Post Auto-Save Interval and Turn off or reduce Post Revisions
By default, WordPress Auto-Save feature automatically saves your draft as you are editing it. But the default Auto-Save interval is 60 seconds. If you are distracted by the browser hanging problem as frequently, you can decrease the post the default duration interval. If you are concerned about losing edits to a post, you can increase interval.
To change Post Auto-Save interval you will need to edit your wp-config.php file located on your WordPress directory and add the following line in it:
define( ‘AUTOSAVE_INTERVAL’, 120 );
WordPress offers a great feature, post revision, it will be a great feature for those who wants to restore a previous version of any post. But it generates revision in the database as each revision, and it also increases the size of the WordPress database. By disabling Post Revision, you can reduce the size of the database to speed up you WordPress site.
To turn off Post Revisions you will need to add the following line wp-config file:
define( ‘WP_POST_REVISIONS’, false);
Alternatively, If you want to reduce Post Revisions, you can this line in wp-config file:
define( ‘WP_POST_REVISIONS’, 3);