• 18 Useful Tricks To Speed Up WordPress & Boost Performance

    18 Useful Tricks To Speed Up WordPress & Boost Performance

    Last updated on August 18th, 2016 by Editorial Staff
    Share This Article

    Special WordPress Hosting offer for WPBeginner Readers
    18 Useful Tricks To Speed Up WordPress & Boost Performance
    Do you want to speed up your WordPress site? Fast loading pages enhance user experience, increase your pageviews, and help your SEO as well. In this article, we will show you some of the most useful tricks to speed up WordPress and boost performance.

    Speeding up WordPress to boost performance

    1. Choose a Good Web Host

    Choosing a web host will be the most important decision for the success of your site. If you are not on a good web hosting service, then everything else you do to speed up your site will simply fail.

    If you are just starting out, then we recommend Siteground. They are an official WordPress recommended hosting provider, and are known to provide top-notch service.

    If you can afford to spend a little more, then go with WPEngine. They are a managed WordPress hosting provider which means they will take care of all things WordPress for you.

    For more recommendations, check out our guide on how to choose the best WordPress hosting.

    2. Use a Caching Plugin

    WordPress is written in PHP, which is a server side programming language. This means every time someone visits your website, WordPress runs a process to fetch the information and then display it on the fly to your user.

    WordPress page cache explained

    This process can slow down your site when you have multiple people visiting your site.

    The solution is to use a caching plugin.

    Instead of generating every page on the fly, your caching plugin will serve a cached version of the page to user’s browser.

    We use W3 Total Cache on WPBeginner, but this plugin hasn’t been updated in a long time, and we will be switching soon.

    We recommend that you use the WP Super Cache plugin. See our guide on how to install and setup WP Super Cache on your WordPress site.

    3. Use CDN

    Many files on your website are static such as images, CSS, and JavaScript. These files normally don’t change. However when a web browser is downloading your page, these files can stop it from displaying the page to your users.

    CDN or content delivery networks solve this problem by serving your static files from their servers across the world. This frees up resources on your server, makes your website fast, and improves user experience.

    What is a CDN

    We use MaxCDN on all our projects. It works well with WordPress websites and integrates into your existing WordPress caching plugins. See our guide on how to install and setup WordPress CDN solution MaxCDN.

    4. Optimize Images for Speed

    Optimize images in WordPress

    Images are one of the most engaging content on the web. Usually, most websites have dozens of images on each page. They also take the longest to load.

    You need to make sure that the images you use in WordPress are properly optimized for the web. Most image editing software allow you to save optimized versions without any noticeable quality loss.

    For more information and detailed instructions see our guide on how to save images optimized for web.

    5. Use a Theme Optimized For Speed

    Selecting a WordPress theme

    When selecting a WordPress theme for your website, pay special attention to speed optimization. Premium WordPress theme shops like StudioPress, Themify, and ArrayThemes offer themes that are well coded and optimized for speed.

    After installing a theme, there are several things you can do to optimize speed. But if your WordPress theme is poorly coded, then you may end up wasting time and valuable resources.

    See our guide on how to properly switch your WordPress theme for a smooth transition to a well coded theme.

    6. Use a Faster Slider Plugin

    Soliloquy the fastest WordPress slider plugin

    Sliders are another common web design element that can make your website slow. You need to make sure that you are using a WordPress slider that does not slow down your site.

    We compared the best WordPress slider plugins for performance and features. Soliloquy tops our list of fastest and most feature rich WordPress slider plugin in the market.

    7. Use Excerpts on Homepage and Archives

    Using excerpts on WordPress homepage and archives

    By default, WordPress displays your full article with all the images on the homepage and archives. This means your homepage, categories, tag, and other archive pages will all load slower.

    Another disadvantage of showing full articles on these pages is that users don’t feel the need to visit the actual article. This reduces your pageviews.

    See our article on full post vs summary (excerpt) in your WordPress archive pages.

    8. Split Long Posts into Pages

    Split long posts into pages

    If you publish long form articles with lots of images, then consider splitting them into multiple pages. WordPress comes with built-in functionality to do that.

    Simply add <!––nextpage––> tag in your article where you want to split it into next page. Do that again if you want to split the article on to the next page as well.

    For detailed instructions, see our tutorial on post pagination – how to split WordPress posts into multiple pages.

    9. Split Comments into Pages

    Paginate comments

    Some of your articles will get more comments than others. If you are displaying all the comments on the same page, then it will increase your page load time.

    WordPress comes with a built-in solution for that. Simply go to Settings » Discussion and check the box next to ‘Break comments into pages…’ option.

    Paginate comments in WordPress

    For detailed instructions, see our guide on how to paginate comments in WordPress.

    10. Remove Inactive Plugins

    Many beginners often install too many plugins and then forget to uninstall a plugin that they are not even using.

    This is problematic because not only these plugins increase your WordPress backup size, they can also slow down your website.

    Review installed plugins on your WordPress site and remove the plugins that you are not using.

    11. Keep Your Site Updated

    WordPress updates

    WordPress is a well maintained open source project, which means it is updated frequently. Updates fix security issues, bugs, and offer new features.

    All WordPress plugins and themes are also regularly maintained and updated.

    As a site owner, it is your responsibility to keep your WordPress site up dated. Not doing so will make your site slow and unreliable. It can also make your site vulnerable to security threats and hacking.

    For more on this topic, see our guide on why you should always use the latest WordPress version.

    12. Don’t Upload Videos to WordPress

    Use YouTube to embed videos in WordPress

    You can directly upload videos to your WordPress site, and it will automatically display them in an HTML5 player.

    But you should NEVER do that!

    Hosting videos will cost you bandwidth. High quality videos consume more bandwidth. WordPress cannot optimize quality of your videos or serve them properly to users with slow internet.

    Hosting videos also increases your backup sizes tremendously, and makes it difficult for you to restore WordPress from backup.

    You can easily embed videos in WordPress from video hosting sites like YouTube, Vimeo, DailyMotion, etc. This not only saves you from trouble, it also improves user experience and page load speed of your website.

    For more on this topic, see our article on why you should never upload a video to WordPress.

    13. Reduce External HTTP Requests

    Cross domain requests

    Many WordPress plugins and themes load scripts, stylesheets, and images from external resources like Google libraries, Facebook SDK, analytics services, and so on.

    Many of these servers are optimized to serve data quickly. It is OK to use them, as they act like a content distribution network and will serve the relevant file more quickly than your web server.

    However, If your site is making a lot of these requests, then this could slow down your website significantly. Try to reduce external HTTP requests by looking at the plugins and themes carefully.

    14. Reduce Database Calls

    Many WordPress themes are not properly optimized to utilize WordPress standard practices. Such themes end up making direct database calls, or too many unnecessary requests to the database.

    Even well coded themes have code that makes database calls just to get your blog’s locale. Like this:

    1 <html xmlns=”http://www.w3.org/1999/xhtml” <?php language_attributes(); ?>>
    2 <head profile=”http://gmpg.org/xfn/11“>
    3 <meta http-equiv=”Content-Type” content=”
    4 <?php bloginfo(‘html_type’); ?>;
    5 charset=<?php bloginfo(‘charset’); ?>” />
    You can’t blame theme developers for that. They simply have no other way to find out what language your site is in.

    But if you are customizing your site using a child theme, then can replace these database calls with correct information.

    1 <html xmlns=”http://www.w3.org/1999/xhtml” dir=”ltr”>
    2 <head profile=”http://gmpg.org/xfn/11“>
    3 <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />
    Review your parent theme for instances like this that can be easily replaced with static information.

    15. Optimize WordPress Database

    Optimize WordPress Database

    After using WordPress for a while, your database will have lots of data that you probably don’t need any more. Your database also needs to optimize tables for improved performance.

    This can be easily managed with WP-Sweep plugin. It allows you to clean your WordPress database by deleting things like trash, revisions, orphaned meta, etc. It also optimizes database table structure with just a click.

    See our guide on how to optimize and clean up your WordPress database for improved performance.

    16. Limit Post Revisions

    Post revisions take space in your WordPress database. Some users believe that they also affect database queries run by plugins which may not exclude revisions.

    You can limit the number of revisions WordPress should keep for each article. Simply add this line of code to your wp-config.php file.

    1 define( ‘WP_POST_REVISIONS’, 4 );
    This code will limit WordPress to only save last 4 revisions and discard older revisions automatically.

    17. Disable Hotlinking and Leeching of Your Content

    Prevent image theft in WordPress

    Some content scraping websites automatically create posts from RSS feeds of other WordPress sites. That’s why we recommend showing only excerpts in RSS feeds.

    See our guide on preventing blog content scraping in WordPress for more ways to deal with content scraping.

    However, some content scrapers manually copy and steal your content. Instead of uploading images to their own servers, they serve them directly from your website. This way they steal your bandwidth, and you don’t get any visits at all.

    Simply add this code to your .htaccess file to block hotlinking of images from your WordPress site.

    1 #disable hotlinking of images with forbidden or custom image option
    2 RewriteEngine on
    3 RewriteCond %{HTTP_REFERER} !^$
    4 RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?wpbeginner.com [NC]
    5 RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?google.com [NC]
    6 RewriteRule \.(jpg|jpeg|png|gif)$ – [NC,F,L]
    You may also want to check our article showing 4 ways to prevent image theft in WordPress.

    18. Use a Faster Gallery Plugin

    Faster image gallery plugin

    If you have a photography website or a portfolio, then you will need to use a gallery plugin to display your images beautifully. It is really important that you use a WordPress gallery plugin that is optimized for speed.

    We recommend using Envira Gallery, which is the best WordPress gallery plugin in the market. It allows you to create beautiful image galleries that are lightning fast to load.

    We hope this article helped you learn some useful tricks to speed up WordPress and boost performance. You may also want to see our list of 40 useful tools to manage and grow your WordPress blog.

  • How much is your domain name worth?

    How much is your domain name worth?

    Domains, Tips & Tricks Jul 18 2016 Andrew Allemann 0 Comments
    Value Increase

    You own a domain name you’re not using and someone asks if they can buy it from you. How can you figure out what it’s worth?

    It’s not a simple as appraising a home; it’s very difficult to find comparable sales and attach a price to a domain. Every domain name is unique and it’s hard to compare one to another.

    In fact, if you ask five so-called domain experts how much a domain is worth, you’ll probably get five different answers.

    But you can get a decent idea of your domain’s value by taking a look at some of the factors that go into valuing a domain name.

    How many other extensions are taken – if you own the .com of a domain and the .net and .org are also registered, that’s a good sign that the domain you’ve chosen is in demand. It means the term you chose for your domain (the second level domain) is popular enough that people are willing to register it in extensions that aren’t as popular as .com.

    If similar domains are taken – In addition to if other extensions of the domain are taken, also see if similar domains are taken. For example, let’s say you own the domain PickleballHome.com. Pickleball, which is sort of a cross between tennis and ping pong, isn’t a very popular sport and there are lots of Pickleball-related domains are available to register. Instead of buying your domain, someone can register PickleballHouse.com, PickleballWeb.com or PickleballPages.com for their website. This makes your domain worth less. Compare this to BaseballHome.com, which is for a much more popular sport. Most of the good alternatives to BaseballHome.com are already registered, so the domain is probably worth more.

    Domain age – Since most of the best domain names were registered a long time ago, the amount of time a domain has been registered can be an indication of value. This doesn’t mean that every domain registered in 1995 is more valuable than ones registered in 2010, but it can give you a general idea. You can see how old a domain name is by locating the “creation date” for the domain in WHOIS.

    Search results volume for the term – It’s a good sign if there are lots of results for the search term matching your domain in Google. If you search for pickleball on Google, you’ll get about 500,000 results. Search for baseball and you’ll get over 400,000,000! Clearly, baseball is a more popular topic. The more people who have created web pages related to a topic, the more demand you can expect for your domain name.

    Monthly searches for the domain – Pages indexed in Google are one thing. But the amount of searches per month for the term can be an even more important measure of demand. You can get an estimate of the number of searches for a keyword by typing it in at SEMRush.com.

    Advertising competition – If a lot of companies are buying ads on Google for the term of your domain name, it’s probably worth more money. SEMRush also estimates the prices people are paying Google when someone clicks an ad for the search term.

    Comparable sales – Although finding comparable sales (“comps”) is hard, there are a couple of sites to check. NameBio.com and DNPric.es offer a searchable catalog of past domain sales. Only a small percentage of domain sales prices are made public, but you’ll find over a billion dollars worth of sales on these sites. If you’re selling a two word domain name with baseball in it, it’s helpful to know what similar domains have sold for: BaseballGear.com $7,600, BaseballCap.com $4,601, UltimateBaseball.com $3,500 and BaseballMag.com $1,025.

    No one data point will tell you how much a domain name is worth. But considering these factors can help you determine a relative value for your domain.

  • How to Tweak wp-config.php to Protect Your WordPress Site –

    If you think your site is safe because it doesn’t have any content worthwhile to hackers, think again, because the vast majority of security breaches aren’t aimed at stealing your data or defacing your site.

    Hackers generally want to use your server as an email relay for spam, or to setup a temporary web server, usually to serve illegal files. If you’re hacked, get ready to shell out money for soaring server costs.

    There are plenty of different ways you can strengthen the security of your site or Multisite network, but one of the simplest is to tweak your wp-config.php file. Updating this configuration file, while not a sure-fire solution for keeping out hackers, is worth doing as part of your overall security strategy.

    With that in mind, let’s look at what WordPress constants are and how to use them to make changes to your wp-config.php file to boost your site’s security.

    Setting WordPress Constants

    In your WordPress configuration file, also called wp-config.php, you can set what are called constants in PHP to execute certain tasks. WordPress has many constants you can use.

    The PHP documentation describes constants as:

    “A constant is an identifier (name) for a simple value. As the name suggests, that value cannot change during the execution of the script (except for magic constants, which aren’t actually constants). A constant is case-sensitive by default. By convention, constant identifiers are always uppercase.”

    Simply put, you can set a value to have a name. It’s also applied globally across an entire script so you can use it again and again. Constants are case-sensitive and usually contain only uppercase letters and underscores.

    An actual constant used in WordPress is WP_DEBUG and this is a great example of how to properly name them since they can only begin in a letter or a single underscore. (You can read more about how to use WP_DEBUG here.)

    Constants are also wrapped in the define() function as shown in this basic syntax example:

    define(‘NAME_OF_CONSTANT’, value);

    view raw syntax constants hosted with Image by GitHub

    In WordPress, the wp-config.php file is loaded before the rest of the files that makes up the core. This means, that if you change the value of a constant in wp-config.php, you can change how WordPress reacts and functions. You could disable certain features or enable them all by changing the value. In many cases, this can be done by changing false to true and vice versa, for example.

    Below are constants as well as other types of PHP code you can use in your wp-config.php file to amp up your security. Place them all above the following line in your wp-config.php file:

    /* That’s all, stop editing! Happy blogging. */

    view raw wp-config.php stop editing hosted with by GitHub

    Warning: In Case of Emergency

    Since the changes you’re about to make can drastically alter your site, it’s a good idea to back it up. If a mistake is made, you can quickly restore your site to a point before you made any changes and once your site is functioning as normal, you can try again.

    For more details on how to create a backup or restore your site, check out some of our other posts: How to Backup Your WordPress Website (and Multisite) Using Snapshot, Backup Plugins Aren’t About Backing up, They’re About Restoring and 7 Top Premium and Freemium WordPress Backup Plugins Reviewed.

    If you find you have already been hacked and you’re trying to beef up your site’s security, install a security plugin such as Defender and give hackers the smackdown.

    Continue reading  Post ID 2166

  • 10+ Ad Networks to Use Alongside AdSense to Boost Your Earnings


    in Monetization

    10+ Ad Networks to Use Alongside AdSense to Boost Your Earnings

    Google AdSense has been the go-to advertising network for online marketers, webmasters and bloggers since the dawn of the internet. Or at least since its initial release in 2003.

    It’s highly effective and reliable for generating revenue from your site, but if you have good traffic, you might want to consider supplementing your income with other revenue sources that are easy to implement and work well with AdSense.

    » Media.net


    In recent years, Media.net has become the number two online ad network, only behind AdSense, and it’s little wonder why. They are the exclusive operator and provider of Yahoo! Bing Network’s contextual ads across the world.

    With the likes of Forbes, Cosmopolitan and ELLE as publishers showing advertising by Media.net advertisers, you’re in the company of some high-powered brands and companies when you show advertisements from Media.net.

    Features including highly contextual ads, mobile docking, in-content advertising, and desktop interstitial advertising, you won’t find yourself lacking on the feature side when implementing and using Media.net advertisements.

    By supplementing your AdSense advertisements with Media.net’s selection, you will not only prevent all your advertising revenue being lost if something happens to your AdSense account, but you will provide yourself with the largest selection of possible ad types, formats, and optimizations out there.

    » Taboola, Outbrain, and Revcontent


    By relying solely on traditional forms of advertising such as banners and sidebar ads, you’ll be settling for less than you should, because native advertising isn’t just a new kid on the block anymore, but in fact here to stay for good.

    Native advertising companies that promote content discovery and advertising such as Taboola, Outbrain, and Revcontent are an excellent choice of income supplementation for sites that feature news, articles or regular content of any type.

    Have you ever visited a website, such as NBC, CNN or ESPN, and noticed a small box that says “Promoted Stories” or “Featured Articles” or something similar? Congratulations, you’ve officially noticed an offering by Taboola, Outbrain, Revcontent or another one of the plethora of content focused advertising networks.

    Get your content discovered by readers of sites such as NBC and CNN, or promote stories from other marketers yourself, either way you go, new levels of success await.

    » Infolinks and Kontera



    Two major players in the in-text advertising genre of ad networks, both Infolinks and Kontera (rebranded as Amobee) offer solutions to promote products and offers to your readers subtly while they are engaged in your content.

    Although many of the larger networks who offer multiple forms of advertisements provide in-text advertising too, sometimes the specialist networks who focus on a certain type of advertising are better suited for the job.

    Regardless of which network you choose, in-text advertising provides you with an opportunity to spread the revenue over multiple networks, which also acts as a safeguard in case one of them starts acting up—not to mention the additional revenue.

    » GumGum and imonomy


    In-image advertising is not as widely recognized a concept as native advertising when it comes to the big boys like Taboola and Outbrain, but it is a strong alternative for those with image heavy sites, such as image sharing sites, fashion, nature, and other similar blogs or photography websites.

    Using images as a form of advertisement is something that has been brought to the attention of publishers more recently than most other forms of advertising, but it is strongly taking over the image focused sites with the clever solution to their advertising problems.

    With a rather limited selection of websites that can efficiently use this format, in-image advertising will not be the next big hit, but is more likely to provide niche website owners and bloggers with a solution to increase their advertising revenues.

    » Undertone, PopAds and Infinity Ads


    Pop ups and pop under advertisements are superb in their effectiveness, but with the downside of potential customer and audience irritation; the sites that employ these advertisements are usually image sharing or file hosting sites.

    These types of sites will receive visitors with or without the pop ups and thus can afford to implement them for increased profitability.

    However, many of the larger news sites and magazines have been seen to implement pop up advertising in increasing numbers recently, and this shows their potential on a larger scale as well.

    If you wish to implement these ads, a good idea would be to visit some sites using Undertone, PopAds or Infinity Ads, and checking out what you don’t like about them and what seems to work. A little research goes a long way.


    We’ve gone through five different types of ad networks you can use to supplement your AdSense revenue, and make your site hit a new advertising high.

    You could argue that you can easily make AdSense or Media.net do the exact same thing without having to register and work different networks.

    However, what if AdSense suspends your account? Who pays the bills then? This is why you should spread your assets over a few different networks, maintaining a backup revenue source without having to reinvent yourself as an affiliate marketer and working with Amazon or Clickbank.

    The networks we’ve listed are some of the top players in their respective fields, and definitely worth a shot, but don’t forget that there are dozens, if not hundreds of capable ad networks for you to choose from.

    By reading this article you’ve taken the first step to a safely distributed revenue stream that will continue to provide for you through setbacks and difficulties. You just have to be smart about your revenue sources.