{"id":347,"date":"2013-01-11T09:24:20","date_gmt":"2013-01-11T09:24:20","guid":{"rendered":"http:\/\/reseller-hosting-themes.com\/wordpress\/?p=347"},"modified":"2016-11-10T11:45:03","modified_gmt":"2016-11-10T11:45:03","slug":"learn-how-to-optimize-wordpress","status":"publish","type":"post","link":"https:\/\/reseller-hosting-themes.com\/wordpress\/learn-how-to-optimize-wordpress\/","title":{"rendered":"Learn how to optimize WordPress"},"content":{"rendered":"<div align=\"center\"><img decoding=\"async\" src=\"https:\/\/reseller-hosting-themes.com\/wordpress\/wp-content\/uploads\/2013\/01\/speed-up-wordpress.jpg\" alt=\"Optimize WordPress\" title=\"Optimize WordPress\" width=\"100%\" class=\"aligncenter size-full wp-image-348\" srcset=\"https:\/\/reseller-hosting-themes.com\/wordpress\/wp-content\/uploads\/2013\/01\/speed-up-wordpress.jpg 700w, https:\/\/reseller-hosting-themes.com\/wordpress\/wp-content\/uploads\/2013\/01\/speed-up-wordpress-300x60.jpg 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/div>\n<p>The WordPress themes and plugin we have designed offer much in terms of SEO, but we can&#8217;t do a lot in terms of website optimization. Here are several tips on how to optimize WordPress.<\/p>\n<h2>Why haven&#8217;t you optimized everything?<\/h2>\n<p>While we have done some great work in that area, we simply can&#8217;t do everything &#8211; there are too many variables that prevent us from using a unified solution. Where will the website be hosted? With us or somewhere else? What if their server has some strange rules that prevent something we have done from working correctly? What if the user wants to add something and we are already serving cached content?<\/p>\n<h2>1. Get a WordPress optimization plugin<\/h2>\n<p>Our number one choice is the <a href=\"https:\/\/wordpress.org\/extend\/plugins\/w3-total-cache\/\" target=\"_blank\">W3 Total Cache<\/a> plugin. It&#8217;s a great plugin for speeding up WordPress-based sites. You can use the preview option to see how the W3 Total Cache plugin will affect your website.<\/p>\n<p><strong>Why isn&#8217;t it installed by default?<\/strong><\/p>\n<p>This is a third-party plugin, which we recommend. However, this is not the only WordPress optimization solution out there, and some people may prefer to use a different plugin or to change things manually.<\/p>\n<h2>2. Enable cache control<\/h2>\n<p>On our <a href=\"https:\/\/www.resellerspanel.com\/shared-web-hosting\/\">web hosting platform<\/a>, you can do that by adding a few lines of code to the .htaccess file:<\/p>\n<p><code># 480 weeks<br \/>\n&lt;filesMatch &#34;\\.(ico|pdf|flv|jpg|jpeg|png|gif)$&#34;&gt;<br \/>\nHeader set Cache-Control \"max-age=290304000, public\"<br \/>\n&lt;&#47;filesMatch&gt;<\/code><\/p>\n<p><strong>Why haven&#8217;t you done this for me?<\/strong><\/p>\n<p>If this setting is enabled by default, this means that if you make any changes to your files, you will not see them online because the browser will cache them locally. This is why we recommend you to enable it only when you have finished customizing the theme to your liking.<\/p>\n<h2>3. Compress your website<\/h2>\n<p>The advantage of website compression is that it reduces the time needed for your website to load. Instead of serving 500KB files, you can now serve a single, smaller file, which the visitor&#8217;s browser will unarchive. You only need to add a few lines of code to your .htaccess file to enable compression:<\/p>\n<p><code>AddOutputFilterByType DEFLATE text\/plain<br \/>\nAddOutputFilterByType DEFLATE text\/html<br \/>\nAddOutputFilterByType DEFLATE text\/xml<br \/>\nAddOutputFilterByType DEFLATE text\/css<br \/>\nAddOutputFilterByType DEFLATE application\/javascript<br \/>\nAddOutputFilterByType DEFLATE application\/x-javascript<\/code><\/p>\n<p><strong>Why haven&#8217;t you done this for me?<\/strong><\/p>\n<p>Again, if we enable this by default, your website will be tricky to update. Content compression should be enabled only after you have finished making modifications to your website.<\/p>\n<h2>4. Check your site&#8217;s performance<\/h2>\n<p>Check your website&#8217;s performance using the Google PageSpeed tool here: https:\/\/developers.google.com\/speed\/pagespeed\/insights#. At the top of the page, you will see your PageSpeed rank. On the left, Google will list suggestions on how to improve your website. A higher score is a better score and Google likes websites that load faster. <\/p>\n","protected":false},"excerpt":{"rendered":"<p><a href=\"https:\/\/reseller-hosting-themes.com\/wordpress\/learn-how-to-optimize-wordpress\/\"><img decoding=\"async\" src=\"https:\/\/reseller-hosting-themes.com\/wordpress\/wp-content\/uploads\/2013\/07\/optimize-wordpress.jpg\" alt=\"How to optimize WordPress\" title=\"How to optimize WordPress\"  style=\"float:left; margin: 0 10px;\" \/><\/a><\/p>\n<p>Learn how to optimize your WordPress websites. Get a significant boost with your loading speed with a few tricks in the .htaccess file and a the help of a single WordPress plugin.<br \/>\n<a href=\"https:\/\/reseller-hosting-themes.com\/wordpress\/learn-how-to-optimize-wordpress\/\">Learn more >><\/a><\/p>\n","protected":false},"author":1,"featured_media":682,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/reseller-hosting-themes.com\/wordpress\/wp-json\/wp\/v2\/posts\/347"}],"collection":[{"href":"https:\/\/reseller-hosting-themes.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/reseller-hosting-themes.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/reseller-hosting-themes.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/reseller-hosting-themes.com\/wordpress\/wp-json\/wp\/v2\/comments?post=347"}],"version-history":[{"count":25,"href":"https:\/\/reseller-hosting-themes.com\/wordpress\/wp-json\/wp\/v2\/posts\/347\/revisions"}],"predecessor-version":[{"id":837,"href":"https:\/\/reseller-hosting-themes.com\/wordpress\/wp-json\/wp\/v2\/posts\/347\/revisions\/837"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/reseller-hosting-themes.com\/wordpress\/wp-json\/wp\/v2\/media\/682"}],"wp:attachment":[{"href":"https:\/\/reseller-hosting-themes.com\/wordpress\/wp-json\/wp\/v2\/media?parent=347"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/reseller-hosting-themes.com\/wordpress\/wp-json\/wp\/v2\/categories?post=347"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/reseller-hosting-themes.com\/wordpress\/wp-json\/wp\/v2\/tags?post=347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}