{"id":5369,"date":"2021-04-16T19:20:51","date_gmt":"2021-04-16T17:20:51","guid":{"rendered":"https:\/\/joapen.com\/blog\/?p=5369"},"modified":"2021-05-04T14:08:27","modified_gmt":"2021-05-04T12:08:27","slug":"changes-on-the-hosting","status":"publish","type":"post","link":"https:\/\/joapen.com\/blog\/2021\/04\/16\/changes-on-the-hosting\/","title":{"rendered":"Changes on the hosting"},"content":{"rendered":"\n<p>Today there were a lot of changes on the hosting and I did some actions that I would like to review.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">PHP settings<\/h2>\n\n\n\n<p>Ensure the PHP settings have enough memory, 32MBs is the default and it should be more.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">General review<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>making sure all of WordPress is updated (plugins, themes, version, and php version, make sure you do this one at a time to not cause any overwrites or issues).<\/li><li>Turn off all plugins and theme<\/li><li>Delete any plugins\/themes you don&#8217;t need<\/li><li>Make new .htaccess file<\/li><li>Turn on plugins\/themes<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Install W3 Total Cache plugin<\/h2>\n\n\n\n<p>First, remove any optimization plugins you&#8217;re using now.<\/p>\n\n\n\n<p>Once installed the W3 Total Cache plugin,<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Skip the setup wizard, and click General Settings.<\/li><li>Set these settings:<ol><li>Page Cache \u2013 Enable<\/li><li>Minify \u2013 Enable<\/li><li>Then, Save Settings.<\/li><\/ol><\/li><li>Click the Minify page.<ol><li>Set both CSS\/JS to &#8220;Combine Only&#8221;, and Save Settings.<\/li><\/ol><\/li><\/ol>\n\n\n\n<p>Pages will be added to cache as they are accessed, so navigate a little bit and check that speed improves.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Blocking bots<\/h2>\n\n\n\n<p>This code below was added to avoid some bots<\/p>\n\n\n\n<p>BOTS<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">#HUB Block Bots\nRewriteEngine On\nRewriteCond %{HTTP_USER_AGENT} ^.*(Sogou|ZoominfoBot|SeznamBot|MJ12bot|Yandex|PetalBot|BLEXBot|DotBot).*$ [NC]\nRewriteRule .* - [F,L]<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Buy me a coffee widget<\/h2>\n\n\n\n<p>Disable the widget and let just the button, the widget consumes a lot of time to load the pages.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">GTmetrics tool<\/h2>\n\n\n\n<p>Use this tool to check the spped: <a rel=\"noreferrer noopener\" href=\"https:\/\/gtmetrix.com\/?error=Job%20limit%20reached\" target=\"_blank\">https:\/\/gtmetrix.com\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today there were a lot of changes on the hosting and I did some actions that I would like to review. PHP settings Ensure the PHP settings have enough memory, 32MBs is the default and it should be more. General review making sure all of WordPress is updated (plugins, themes, version, and php version, make &#8230; <a title=\"Changes on the hosting\" class=\"read-more\" href=\"https:\/\/joapen.com\/blog\/2021\/04\/16\/changes-on-the-hosting\/\" aria-label=\"Read more about Changes on the hosting\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":5375,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[64],"tags":[217],"class_list":["post-5369","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-digital-marketing","tag-fixing-problems"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Changes on the hosting -<\/title>\n<meta name=\"description\" content=\"Today there were a lot of changes on the hosting and I did some actions that I would like to review. PHP settings Ensure the PHP settings have enough - joapen projects\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/joapen.com\/blog\/2021\/04\/16\/changes-on-the-hosting\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Changes on the hosting -\" \/>\n<meta property=\"og:description\" content=\"Today there were a lot of changes on the hosting and I did some actions that I would like to review. PHP settings Ensure the PHP settings have enough - joapen projects\" \/>\n<meta property=\"og:url\" content=\"https:\/\/joapen.com\/blog\/2021\/04\/16\/changes-on-the-hosting\/\" \/>\n<meta property=\"og:site_name\" content=\"joapen projects\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-16T17:20:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-04T12:08:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/joapen.com\/blog\/wp-content\/uploads\/2021\/04\/hosting.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"936\" \/>\n\t<meta property=\"og:image:height\" content=\"519\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"joapen\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"joapen\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/2021\\\/04\\\/16\\\/changes-on-the-hosting\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/2021\\\/04\\\/16\\\/changes-on-the-hosting\\\/\"},\"author\":{\"name\":\"joapen\",\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/#\\\/schema\\\/person\\\/23919df2312175fe9c4609203595b217\"},\"headline\":\"Changes on the hosting\",\"datePublished\":\"2021-04-16T17:20:51+00:00\",\"dateModified\":\"2021-05-04T12:08:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/2021\\\/04\\\/16\\\/changes-on-the-hosting\\\/\"},\"wordCount\":218,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/#\\\/schema\\\/person\\\/23919df2312175fe9c4609203595b217\"},\"image\":{\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/2021\\\/04\\\/16\\\/changes-on-the-hosting\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/joapen.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/hosting.jpg\",\"keywords\":[\"fixing-problems\"],\"articleSection\":[\"Digital Marketing\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/joapen.com\\\/blog\\\/2021\\\/04\\\/16\\\/changes-on-the-hosting\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/2021\\\/04\\\/16\\\/changes-on-the-hosting\\\/\",\"url\":\"https:\\\/\\\/joapen.com\\\/blog\\\/2021\\\/04\\\/16\\\/changes-on-the-hosting\\\/\",\"name\":\"Changes on the hosting -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/2021\\\/04\\\/16\\\/changes-on-the-hosting\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/2021\\\/04\\\/16\\\/changes-on-the-hosting\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/joapen.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/hosting.jpg\",\"datePublished\":\"2021-04-16T17:20:51+00:00\",\"dateModified\":\"2021-05-04T12:08:27+00:00\",\"description\":\"Today there were a lot of changes on the hosting and I did some actions that I would like to review. PHP settings Ensure the PHP settings have enough - joapen projects\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/2021\\\/04\\\/16\\\/changes-on-the-hosting\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/joapen.com\\\/blog\\\/2021\\\/04\\\/16\\\/changes-on-the-hosting\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/2021\\\/04\\\/16\\\/changes-on-the-hosting\\\/#primaryimage\",\"url\":\"https:\\\/\\\/joapen.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/hosting.jpg\",\"contentUrl\":\"https:\\\/\\\/joapen.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/hosting.jpg\",\"width\":936,\"height\":519},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/2021\\\/04\\\/16\\\/changes-on-the-hosting\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/joapen.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Changes on the hosting\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/joapen.com\\\/blog\\\/\",\"name\":\"joapen projects\",\"description\":\"Just a place to write\",\"publisher\":{\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/#\\\/schema\\\/person\\\/23919df2312175fe9c4609203595b217\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/joapen.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/#\\\/schema\\\/person\\\/23919df2312175fe9c4609203595b217\",\"name\":\"joapen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/joapen-mini.jpeg\",\"url\":\"https:\\\/\\\/joapen.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/joapen-mini.jpeg\",\"contentUrl\":\"https:\\\/\\\/joapen.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/joapen-mini.jpeg\",\"width\":400,\"height\":400,\"caption\":\"joapen\"},\"logo\":{\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/joapen-mini.jpeg\"},\"sameAs\":[\"http:\\\/\\\/www.joapen.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Changes on the hosting -","description":"Today there were a lot of changes on the hosting and I did some actions that I would like to review. PHP settings Ensure the PHP settings have enough - joapen projects","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/joapen.com\/blog\/2021\/04\/16\/changes-on-the-hosting\/","og_locale":"en_US","og_type":"article","og_title":"Changes on the hosting -","og_description":"Today there were a lot of changes on the hosting and I did some actions that I would like to review. PHP settings Ensure the PHP settings have enough - joapen projects","og_url":"https:\/\/joapen.com\/blog\/2021\/04\/16\/changes-on-the-hosting\/","og_site_name":"joapen projects","article_published_time":"2021-04-16T17:20:51+00:00","article_modified_time":"2021-05-04T12:08:27+00:00","og_image":[{"width":936,"height":519,"url":"https:\/\/joapen.com\/blog\/wp-content\/uploads\/2021\/04\/hosting.jpg","type":"image\/jpeg"}],"author":"joapen","twitter_misc":{"Written by":"joapen","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/joapen.com\/blog\/2021\/04\/16\/changes-on-the-hosting\/#article","isPartOf":{"@id":"https:\/\/joapen.com\/blog\/2021\/04\/16\/changes-on-the-hosting\/"},"author":{"name":"joapen","@id":"https:\/\/joapen.com\/blog\/#\/schema\/person\/23919df2312175fe9c4609203595b217"},"headline":"Changes on the hosting","datePublished":"2021-04-16T17:20:51+00:00","dateModified":"2021-05-04T12:08:27+00:00","mainEntityOfPage":{"@id":"https:\/\/joapen.com\/blog\/2021\/04\/16\/changes-on-the-hosting\/"},"wordCount":218,"commentCount":1,"publisher":{"@id":"https:\/\/joapen.com\/blog\/#\/schema\/person\/23919df2312175fe9c4609203595b217"},"image":{"@id":"https:\/\/joapen.com\/blog\/2021\/04\/16\/changes-on-the-hosting\/#primaryimage"},"thumbnailUrl":"https:\/\/joapen.com\/blog\/wp-content\/uploads\/2021\/04\/hosting.jpg","keywords":["fixing-problems"],"articleSection":["Digital Marketing"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/joapen.com\/blog\/2021\/04\/16\/changes-on-the-hosting\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/joapen.com\/blog\/2021\/04\/16\/changes-on-the-hosting\/","url":"https:\/\/joapen.com\/blog\/2021\/04\/16\/changes-on-the-hosting\/","name":"Changes on the hosting -","isPartOf":{"@id":"https:\/\/joapen.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/joapen.com\/blog\/2021\/04\/16\/changes-on-the-hosting\/#primaryimage"},"image":{"@id":"https:\/\/joapen.com\/blog\/2021\/04\/16\/changes-on-the-hosting\/#primaryimage"},"thumbnailUrl":"https:\/\/joapen.com\/blog\/wp-content\/uploads\/2021\/04\/hosting.jpg","datePublished":"2021-04-16T17:20:51+00:00","dateModified":"2021-05-04T12:08:27+00:00","description":"Today there were a lot of changes on the hosting and I did some actions that I would like to review. PHP settings Ensure the PHP settings have enough - joapen projects","breadcrumb":{"@id":"https:\/\/joapen.com\/blog\/2021\/04\/16\/changes-on-the-hosting\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/joapen.com\/blog\/2021\/04\/16\/changes-on-the-hosting\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/joapen.com\/blog\/2021\/04\/16\/changes-on-the-hosting\/#primaryimage","url":"https:\/\/joapen.com\/blog\/wp-content\/uploads\/2021\/04\/hosting.jpg","contentUrl":"https:\/\/joapen.com\/blog\/wp-content\/uploads\/2021\/04\/hosting.jpg","width":936,"height":519},{"@type":"BreadcrumbList","@id":"https:\/\/joapen.com\/blog\/2021\/04\/16\/changes-on-the-hosting\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/joapen.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Changes on the hosting"}]},{"@type":"WebSite","@id":"https:\/\/joapen.com\/blog\/#website","url":"https:\/\/joapen.com\/blog\/","name":"joapen projects","description":"Just a place to write","publisher":{"@id":"https:\/\/joapen.com\/blog\/#\/schema\/person\/23919df2312175fe9c4609203595b217"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/joapen.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/joapen.com\/blog\/#\/schema\/person\/23919df2312175fe9c4609203595b217","name":"joapen","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/joapen.com\/blog\/wp-content\/uploads\/2021\/04\/joapen-mini.jpeg","url":"https:\/\/joapen.com\/blog\/wp-content\/uploads\/2021\/04\/joapen-mini.jpeg","contentUrl":"https:\/\/joapen.com\/blog\/wp-content\/uploads\/2021\/04\/joapen-mini.jpeg","width":400,"height":400,"caption":"joapen"},"logo":{"@id":"https:\/\/joapen.com\/blog\/wp-content\/uploads\/2021\/04\/joapen-mini.jpeg"},"sameAs":["http:\/\/www.joapen.com"]}]}},"_links":{"self":[{"href":"https:\/\/joapen.com\/blog\/wp-json\/wp\/v2\/posts\/5369","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/joapen.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/joapen.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/joapen.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/joapen.com\/blog\/wp-json\/wp\/v2\/comments?post=5369"}],"version-history":[{"count":4,"href":"https:\/\/joapen.com\/blog\/wp-json\/wp\/v2\/posts\/5369\/revisions"}],"predecessor-version":[{"id":5382,"href":"https:\/\/joapen.com\/blog\/wp-json\/wp\/v2\/posts\/5369\/revisions\/5382"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/joapen.com\/blog\/wp-json\/wp\/v2\/media\/5375"}],"wp:attachment":[{"href":"https:\/\/joapen.com\/blog\/wp-json\/wp\/v2\/media?parent=5369"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/joapen.com\/blog\/wp-json\/wp\/v2\/categories?post=5369"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/joapen.com\/blog\/wp-json\/wp\/v2\/tags?post=5369"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}