{"id":25919,"date":"2020-12-21T02:51:48","date_gmt":"2020-12-20T18:51:48","guid":{"rendered":"https:\/\/web.mwwsb.com.my\/pjci\/?post_type=kb&#038;p=25919"},"modified":"2022-09-08T21:25:51","modified_gmt":"2022-09-08T13:25:51","slug":"how-to-optimize-wordpress","status":"publish","type":"kb","link":"https:\/\/www.casbay.com\/guide\/kb\/how-to-optimize-wordpress","title":{"rendered":"HOW TO: Optimize WordPress"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"25919\" class=\"elementor elementor-25919\" data-elementor-post-type=\"kb\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-3660da3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3660da3\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0ab32fa\" data-id=\"0ab32fa\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-57ea261 elementor-widget elementor-widget-heading\" data-id=\"57ea261\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">HOW TO: Optimize WordPress<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cb83fa5 elementor-widget elementor-widget-text-editor\" data-id=\"cb83fa5\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p><a href=\"https:\/\/wordpress.com\/\" rel=\"noopener\">WordPress<\/a> is currently one of the most popular blogging\/CMS applications.<\/p><p>Here are some ideas for you to optimize WordPress and reduce the CPU consumption of this PHP script.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c4b2e15 elementor-widget elementor-widget-heading\" data-id=\"c4b2e15\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-medium\">1) Back Up Your WordPress Account <\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9e6e4ef elementor-widget elementor-widget-text-editor\" data-id=\"9e6e4ef\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p><strong>Make a backup of your account first<\/strong>, and then upgrade to the latest version of WordPress. The latest versions have optimized code that could reduce the CPU consumption of your site.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b578e4d elementor-widget elementor-widget-heading\" data-id=\"b578e4d\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-medium\">2) Avoid starting with Category<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b186ab0 elementor-widget elementor-widget-text-editor\" data-id=\"b186ab0\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>For permalink structure, do not start with the category, tag, author, or postname fields. Instead try \/%year%\/%postname%\/ or \/%post_id%\/%postname%\/. Also, don\u2019t worry about 301 redirects as WordPress will automatically handle that after the permalink change.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-02f85a7 elementor-widget elementor-widget-heading\" data-id=\"02f85a7\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-medium\">3) Install WP Super Cache\/ W3 Total Cache under WordPress Plugins<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c8a2556 elementor-widget elementor-widget-text-editor\" data-id=\"c8a2556\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>You can install the plugins from your WordPress Dashboard under <strong>Plugins<\/strong>. Follow the links below for information on how to set up these plugins.<\/p><ul><li style=\"list-style-type: none;\"><ul><li><a href=\"https:\/\/www.casbay.com\/guide\/kb\/wp-super-cache-plugin\/\" target=\"_blank\" rel=\"noopener noreferrer\" data-wpel-link=\"internal\">WP Super Cache<\/a>\u00a0(recommended)<\/li><li><a href=\"https:\/\/www.casbay.com\/guide\/kb\/w3-total-cache-wordpress-plugin\/\" target=\"_blank\" rel=\"noopener noreferrer\" data-wpel-link=\"internal\">W3 Total Cache<\/a><\/li><\/ul><\/li><\/ul>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9e658c5 elementor-widget elementor-widget-heading\" data-id=\"9e658c5\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-medium\">4) Take concerns about CPU intensive<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c788f90 elementor-widget elementor-widget-text-editor\" data-id=\"c788f90\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Many themes are more CPU intensive. Therefore,<\/p><ul><li style=\"list-style-type: none;\"><ul><li>Make sure your page loads are generating no errors in your\u00a0<strong>Error Log<\/strong>\u00a0(in cPanel under\u00a0<strong>Logs<\/strong>)<\/li><li>Also, if you\u2019re using dynamic image resizing, you may want to disable this if possible.<\/li><li>If all else fails, contact the theme provider for assistance, or change to a different theme.<\/li><\/ul><\/li><\/ul>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-31387a4 elementor-widget elementor-widget-heading\" data-id=\"31387a4\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-medium\">5) Disable CPU intensive plugins<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7733cb9 elementor-widget elementor-widget-text-editor\" data-id=\"7733cb9\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Disable CPU intensive plugins or plugins that you no longer need.<\/p><ul><li style=\"list-style-type: none;\"><ul><li>All related post plugins (WordPress Related Posts, YARPP) can cause a significantly high load in most cases.<\/li><li>WPRobot3 and other auto-posters can also cause high load issues and should be disabled if they are causing issues<\/li><li>StatPress and other WordPress statistics software should also be disabled, as these too can consume too much CPU in certain cases. Use Google Analytics instead of statistics.<\/li><li>Any other plugins that are not vital to your WordPress should be disabled.<\/li><\/ul><\/li><\/ul>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ac98e64 elementor-widget elementor-widget-heading\" data-id=\"ac98e64\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-medium\">6) Manage Spambots<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-11ca346 elementor-widget elementor-widget-text-editor\" data-id=\"11ca346\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Non-human visitors\/posters (aside from web spiders) should be blocked. Use a captcha such as SI CAPTCHA to prevent comment spam.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5e92827 elementor-widget elementor-widget-heading\" data-id=\"5e92827\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-medium\">7) Lower the rate of web spiders crawling <\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7e02e10 elementor-widget elementor-widget-text-editor\" data-id=\"7e02e10\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Lower the rate web spiders crawl your WordPress blogs if you have a large number of blogs hosted under your account. High crawl rates can drive up the load on the server, as many bots try to index your sites.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>HOW TO: Optimize WordPress WordPress is currently one of the most popular blogging\/CMS applications. Here are some ideas for you to optimize WordPress and reduce the CPU consumption of this PHP script. 1) Back Up Your WordPress Account Make a backup of your account first, and then upgrade to the latest version of WordPress. The [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"page-builder","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}}},"kbtopic":[43],"kbtag":[106],"mkb_version":[],"_links":{"self":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/25919"}],"collection":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/comments?post=25919"}],"version-history":[{"count":4,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/25919\/revisions"}],"predecessor-version":[{"id":36770,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/25919\/revisions\/36770"}],"wp:attachment":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/media?parent=25919"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=25919"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtag?post=25919"},{"taxonomy":"mkb_version","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/mkb_version?post=25919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}