{"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&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
WordPress<\/a> is currently one of the most popular blogging\/CMS applications.<\/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 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 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 You can install the plugins from your WordPress Dashboard under Plugins<\/strong>. Follow the links below for information on how to set up these plugins.<\/p> Many themes are more CPU intensive. Therefore,<\/p> Disable CPU intensive plugins or plugins that you no longer need.<\/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 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":" 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 […]<\/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}]}}1) Back Up Your WordPress Account <\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
2) Avoid starting with Category<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
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
4) Take concerns about CPU intensive<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
5) Disable CPU intensive plugins<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
6) Manage Spambots<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
7) Lower the rate of web spiders crawling <\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t