How Can You Optimize Your WordPress Site?

In the current web scenario, more than 80% websites are built on WordPress. When a website is launched, its optimization becomes an important concern for web developers.

But the time your business site took while opening determines how successful your site will be. Slow sites often let visitors increase the dwell time because they might click back button before your site loads.

Moreover, the site performance is another major factor which influences the site ranking in the search engines. To resolve these issues, you may need to optimize your website.

Slow site leaves bad impression on your visitors and also affects your SEO badly

However, a website built on WordPress platform is SEO effective for WordPress Development that embraces search engines. WordPress consists of such features and functions that help a search engine to crawl your site and gather information it needs to include your site within its database. So, optimization of a site becomes a vital need of every digital agency if they want to grow their business to earn maximum benefits.

Let’s check out the following ways how you can optimize your WordPress site in few simple steps:

 

1) Use of CDN(Content Delivery Network)

 

cdn

Each WordPress website is hosted in a data center anywhere in the world. If your site’s visitor location is far from the data center then it will automatically increase the loading time of your site page. But CDN resolves this issue by utilizing a large number of data centers in the world. CDN offloads the static resources of your site that includes CSS, javascript files, and images. In fact, your primary server will have to handle less load and thus will deliver better performance significantly. It takes only seconds to load your site page using CDN. Some of the popular CDNs include CloudFlare, MaxCDN, Amazon CloudFront. However, The cost of these services varies according to how much bandwidth your website uses.

2) Properly install cache plugin

cache

Installing a cache plugin to your WordPress site makes your site faster. For this, you can install W3 Total Cache or WP Super Cache or WP Fastest cache. Cache plugins publish static HTML files rather than dynamic files. It reduces server access for static resources, MySQL database access, HTTP requests and a no. of PHP requests. Some additional caching features include minification, caching of feeds, Gzipping, Content Delivery Network (CDN) support, and much more.That’s how it helps in improving a site’s load time.

3) Empty Trash system

trash

Whenever a piece of content(comment, page, media, post) is deleted from the WordPress, it is sent to trash system. From here only, the content can be restored or deleted permanently. It is a safeguard to your content which restores all the content if deleted or removed accidentally from the CMS. Overall we can say, it is same as the recycle bin in your computer.

In addition, WordPress automatically delete trash after thirty days by default. But this can be reduced by modifying the wp-config.php file.

Suppose you want to reduce it to 8 days, then add this:

define (‘EMPTY_TRASH_DAYS’, 8);

Another way to disable the trash system by using this wp-config.php file.

define (‘EMPTY_TRASH_DAYS’, 0);

4) Enable the Gzip Compression

gzip

By enabling Gzip Compression, it compresses your original site so this will be less in size and will generally load a lot faster than other sites. Gzip compression can be enabled through Cpanel if your site is lying on a shared server or you can enable this by using the W3 Total Cache plugin. Another method is to enable it from your .htaccess file by using this:

AddOutputFilterByType DEFLATE text/HTML text/plain text/XML text/CSS text/javascript application/javascript application/x-javascript

Moreover, Gzip compression transfers your site to the browser at up to 70% of its original size. Further, the browser will decompress the page and display it to the user.

Related Blog:  Top 10 Popular WordPress Themes of 2017

5) Enable the Browser caching

Browser caching if enabled allows internet users to speed up the loading time of their favorite websites by storing a cached copy of your website locally. This automatically reduces repeated calls to the server and thus saves a user from downloading the same file again. These files include some of the largest files on your website which rarely changes. These are Javascript files, CSS files, Company Logo etc.

To enable browser caching, you can add following code to your .htaccess file:

## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg “access 1 year”
ExpiresByType image/jpeg “access 1 year”
ExpiresByType image/gif “access 1 year”
ExpiresByType image/png “access 1 year”
ExpiresByType text/CSS “access 1 month”
ExpiresByType text/HTML “access 1 month”
ExpiresByType application/pdf “access 1 month”
ExpiresByType text/x-javascript “access 1 month”
ExpiresByType application/x-shockwave-flash “access 1 month”
ExpiresByType image/x-icon “access 1 year”
ExpiresDefault “access 1 month”
</IfModule>
## EXPIRES CACHING ##

6) Delete old revisions

Revisions are generated each time you save your articles in WordPress. In fact, an article with 10 revisions will take 10 times as much space on your database than the actual article that was published. So this increases the size of your database.For this reason, you probably don’t need to have 10s or more revisions of your old posts that have been already published. Besides, trash system, these old revisions that involve posts revisions, drafts, spams, trackbacks, and pingbacks may unnecessarily increase the size of your database. That’s why it is needed to regularly delete spam comments and unwanted pingbacks and trackbacks.

By default, WordPress can save the unlimited number of revisions but you can limit this by adding following code to your wp-config.php file:

define( ‘WP_POST_REVISIONS’, 3 );

To completely disable the post revision system, you can add the following code to your wp-config.php file.

define( ‘WP_POST_REVISIONS’, false );

psd to wordpress

7) Replace the PHP code with the HTML code

If you have a good knowledge of both PHP and HTML, then you can easily replace instances of PHP in your site’s code with plain HTML. It is recommended to replace those things which usually don’t get changed such as your site’s name, theme’s stylesheet URL and the URL to your favicon. Replacing PHP to HTML is good as Plain HTML is around 20-times faster than PHP.

In many themes of WordPress, you find following fuctions to execute for each page load:

<title><?php bloginfo(‘name’); ?> – <?php bloginfo(‘description’);?></title>
<link rel=”shorcut icon” type=”image/x-ico” href=”<?php bloginfo(‘template_url’); ?>/favicon.jpg” />
<link rel=”stylesheet” type=”text/css” media=”screen” href=”<?php bloginfo(‘stylesheet_url’); ?>”/>
<link rel=”stylesheet” type=”text/css” media=”print” href=”<?php bloginfo(‘template_url’); ?>/print.css” />
<link rel=”alternate” type=”application/rss+xml” title=”RSS” href=”<?php bloginfo(‘rss_url’); ?>” />
When you replace PHP functions with plain HTML, it will become:

<title>TechTage – Covering SEO, Web Hosting, Hardware and more…</title>
<link rel=”shorcut icon” type=”image/x-ico” href=”https://techtage.com/wp-content/themes/techtage/favicon.jpg” />
<link rel=”stylesheet” type=”text/css” media=”screen” href=”https://techtage.com/wp-content/themes/techtage/style.css”/>
<link rel=”stylesheet” type=”text/css” media=”print” href=”https://techtage.com/wp-content/themes/techtage/print.css” />
<link rel=”alternate” type=”application/rss+xml” title=”RSS” href=”https://techtage.com/feed/rss/” />
However, choosing a good hosting plan, fast WordPress theme, wise advertisements, using responsive designs are some other options available to optimize your WordPress site to gain many business benefits.

Besides this, there are some important tools used by WordPress developers to optimize the site:

 

1) Longtail Pro

longtailpro

It is an advanced tool than the Google Keyword Planner. It helps you analyze your keywords but also does other useful jobs such as researching your competitors and testing niche visibility. It allows you to get in-depth analysis from time to time due to its quick set-up for placing all your marketing campaigns in one place. Moreover, it is used by several successful online marketers today.

2) Broken Link Checker

brokenlinkchecker

This tool helps you checking and fixing broken links for best SEO practices. With this tool, you will be away from the risk of getting the site penalized. It analyzes your pages, posts and other content to spot broken links and missing images.Broken Link Checker helps make your site more user-friendly by spotting broken links, so once you fix those links, your visitors won’t have to see any irrelevant pages before reaching their destination.

Read More:  Best WordPress Security Plugins in 2017

3) GTmetrix

gtmetrix

This tool helps in analyzing your WordPress site. It generates a report that will show you a complete history of the website’s loading speeds, as well as a detailed report that suggests ways to improve the performance of your website. Beyond the initial page analysis tools, this web tool also has a video playback feature that enables you to see where the loading speed bottlenecks occur.

4) Link Patrol

LINKPATROL

It is a paid plugin which helps in tracking your outgoing links and helps you clean up the outdated ones easily. It delivers link reports and allows you to easily delete broken or spammy links. If you don’t want to delete a link, you can simply add the ‘rel=nofollow’ tag to it to make sure that the unwanted links don’t influence your search rankings.

5) OptinMonster

OptinMonster

This a great tool that allows you to build drag and drop lead capture forms and split test different versions of a form to see which one performs the best. It offers a variety of form types to choose from and contains other cool features like built-in analytics and exit intent technology to make sure that you’re able to make the most out of every visit your site gets.

psd to wordpress

Conclusion:

A good page speed score gives your site a good reputation over the web. It will rank higher in searches and will leave a good impact on its visitors. The above steps will help you to handle the speed and performance issues of your site.

We have provided the best possible ways which can help to deal with such issues of your WordPress site. We are hoping that these steps would surely help you in optimizing your WordPress site.  If you know some other ways which are not listed here then you are free to comment. In fact, we are an expert team of WordPress developers at MarkupBox also if you have any further queries please ask, we will make sure to answer each one of them. Feel free to contact us.

In fact, we are an expert team of WordPress developers at MarkupBox delivering theming services viz. PSD to WordPress conversion, HTML to WordPress conversion and many more to our clients with a high success rate in past 12 years.

Also if you have any further queries please ask, we will make sure to answer each one of them. Feel free to contact us.

Avatar for Justin Spencer

About 

Justin Spencer is a technology enthusiast. He loves to read the latest blogs on technology and design. He has a keen interest in small business and web development. Connect with him -

Google +
Twitter
Linkedin

Category :
0

Leave a Reply

Your email address will not be published. Required fields are marked *

Custom Button Close

Request a
free quote

  • Non-Disclosure Agreement
  • 100% Satisfaction
  • 100% Moneyback Guarantee
  • 180 Days Free Support
10% DISCOUNT
for all Returning Customers

Guaranteed Response with in 24 Hours

Please fill in the details below . All * fields are mandatory.

  • Name Error
    e.g: John Smith
    Phone Error
    e.g: +1 1234567890
  • Select Error
  • abcd
    Accepted file Formats: .PSD, .JPG, .JPEG, .GIF, .PNG, .AI, .ZIP, .RAR, .PDF
    if the size is greater than 20MB, specify the URL here
    Drop HereBrowse