{"id":55784,"date":"2017-12-29T15:46:58","date_gmt":"2017-12-29T14:46:58","guid":{"rendered":"https:\/\/wprealm.com\/?p=55784"},"modified":"2019-01-05T16:35:54","modified_gmt":"2019-01-05T15:35:54","slug":"5-steps-consider-taking-slow-wordpress-site","status":"publish","type":"post","link":"http:\/\/wprealm.local\/5-steps-consider-taking-slow-wordpress-site\/","title":{"rendered":"5 Steps to Consider When Taking over a Slow WordPress site"},"content":{"rendered":"\n

If you provide WordPress services sooner or later you will run into a client that has had their site built on WordPress by someone and are now concerned with the website being slow and they want you to fix it.<\/p>\n\n\n\n

You start looking into it and notice their hosting is a bit sucky and also their theme was poorly built or they’re using a “premium” theme that is isn’t all that great for performance.<\/p>\n\n\n\n

It is a real challenge, how do you go about it?<\/p>\n\n\n\n

1. Explain what is involved to the client<\/h2>\n\n\n\n

The client already did some investment on the website and they may not be very happy to invest a lot more. Try to reaffirm their purpose and then state what it will take to get there. Don’t compromise or settle for less simply because they already invested. It will be worse if they invest some more and keep the same problems. Establish your terms and what it will take for you to become the tech CO for their website. Because that is what you’re signing up for when you say yes.<\/p>\n\n\n\n\n\n\n\n

2. Re-purpose the theme<\/h2>\n\n\n\n

Create a new blank theme and do a code review for each page, repurposing the needed code.
\nIf your team isn’t doing code reviews then this is a good time to start. The basic principle is no code gets into the new theme without being peer-reviewed and approved by one or two developers. Assuming you’re using version control on either Bitbucket or Github there’s a feature that can help you. Add branch permission to the master branch so only code gets merged that is reviewed. What you’ll be looking for in the review is to enforce clean and efficient code so also you should install PHPCS with WordPress standards to make it easier. This is how the pros do it. See how WordPress VIP does this here<\/a>.<\/p>\n\n\n\n

3. Review used plugins<\/h2>\n\n\n\n

Check what plugins they are using and look for potential performance problems. Look at the dissallowed plugin list by WPEngine<\/a> as a starting point. Use tools like Query Monitor<\/a> to find what is slowing down your site.<\/p>\n\n\n\n

4. Fix the hosting but don’t become the hosting<\/h2>\n\n\n\n

Use one of the best WordPress hosting<\/a> companies and ask the client to sign up himself. Try and resist to becoming their hosting provider yourself. If the website goes down you don’t want them to be calling you, so establish a support procedure right from the start. Define who is in charge of first line support, what is their rate and times.<\/p>\n\n\n\n

5. Establish a measurement framework<\/h2>\n\n\n\n

You can\u2019t improve what you can\u2019t measure so use tools to benchmark the website against others. A good goal to aim for is to have your TTFB in the order of 250ms-350ms or below. This is going to be up to the hosting to guarantee this \u2013 and if you’re using a host like Servebolt<\/a> or Kinsta<\/a> you can be sure it is, but you should check it. Learn about scalability, caching and transients to improve the general solution. A good guide is Mark Jaquith’s talk on speeding WordPress<\/a>. <\/p>\n\n\n\n

Summary<\/h2>\n\n\n\n

Tackling existing codebases can be quite daunting and it is definitely not for everyone. If you are starting from scratch, your project is going to be far from ideal. However, in the long run, it’s the smartest choice in most of the times. And hopefully, you can help the client make a profit on the project and build a long-standing relationship. Don’t go into it if you can\u2019t create a positive reference though.<\/p>\n\n\n\n

In the end, it is all about establishing yourself as a professional WordPress provider capable of tackling even the most challenging projects. There will always be work for a team like that.<\/p>\n","protected":false},"excerpt":{"rendered":"

If you provide WordPress services sooner or later you will run into a client that has had their site built on WordPress by someone and are now concerned with the website being slow and they want you to fix it. You start looking into it and notice their hosting is a bit sucky and also […]<\/p>\n","protected":false},"author":15,"featured_media":55825,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[1],"tags":[],"people":[],"company":[],"events":[],"acf":[],"yoast_head":"\n5 Steps to Consider When Taking over a Slow WordPress site - WP Realm<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wprealm.com\/5-steps-consider-taking-slow-wordpress-site\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"5 Steps to Consider When Taking over a Slow WordPress site\" \/>\n<meta property=\"og:description\" content=\"If you provide WordPress services sooner or later you will run into a client that has had their site built on WordPress by someone and are now concerned with the website being slow and they want you to fix it. You start looking into it and notice their hosting is a bit sucky and also […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wprealm.com\/5-steps-consider-taking-slow-wordpress-site\/\" \/>\n<meta property=\"og:site_name\" content=\"WP Realm\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/wprealm\" \/>\n<meta property=\"article:published_time\" content=\"2017-12-29T14:46:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-01-05T15:35:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wprealm.com\/wp-content\/uploads\/Green-Employee-Of-The-Month-Card.png\" \/>\n\t<meta property=\"og:image:width\" content=\"560\" \/>\n\t<meta property=\"og:image:height\" content=\"397\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Nuno Morgadinho\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@morgadin\" \/>\n<meta name=\"twitter:site\" content=\"@wprealm\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nuno Morgadinho\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wprealm.com\/5-steps-consider-taking-slow-wordpress-site\/\",\"url\":\"https:\/\/wprealm.com\/5-steps-consider-taking-slow-wordpress-site\/\",\"name\":\"5 Steps to Consider When Taking over a Slow WordPress site - WP Realm\",\"isPartOf\":{\"@id\":\"https:\/\/wprealm.com\/#website\"},\"datePublished\":\"2017-12-29T14:46:58+00:00\",\"dateModified\":\"2019-01-05T15:35:54+00:00\",\"author\":{\"@id\":\"https:\/\/wprealm.com\/#\/schema\/person\/dd0ff7725dbb3759825c5f5675554a4b\"},\"breadcrumb\":{\"@id\":\"https:\/\/wprealm.com\/5-steps-consider-taking-slow-wordpress-site\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wprealm.com\/5-steps-consider-taking-slow-wordpress-site\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wprealm.com\/5-steps-consider-taking-slow-wordpress-site\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/wprealm.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"5 Steps to Consider When Taking over a Slow WordPress site\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wprealm.com\/#website\",\"url\":\"https:\/\/wprealm.com\/\",\"name\":\"WP Realm\",\"description\":\"WordPress news, community news, reviews and more from all over the world\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wprealm.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/wprealm.com\/#\/schema\/person\/dd0ff7725dbb3759825c5f5675554a4b\",\"name\":\"Nuno Morgadinho\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wprealm.com\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/0.gravatar.com\/avatar\/f133ecd840e569a0cb81e04833c94339?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/0.gravatar.com\/avatar\/f133ecd840e569a0cb81e04833c94339?s=96&d=mm&r=g\",\"caption\":\"Nuno Morgadinho\"},\"description\":\"Director of @WidgiLabs WordPress Super Agency. Passionate about the Web.\",\"sameAs\":[\"https:\/\/widgilabs.com\",\"https:\/\/twitter.com\/morgadin\"],\"url\":\"http:\/\/wprealm.local\/author\/nuno\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"5 Steps to Consider When Taking over a Slow WordPress site - WP Realm","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:\/\/wprealm.com\/5-steps-consider-taking-slow-wordpress-site\/","og_locale":"en_US","og_type":"article","og_title":"5 Steps to Consider When Taking over a Slow WordPress site","og_description":"If you provide WordPress services sooner or later you will run into a client that has had their site built on WordPress by someone and are now concerned with the website being slow and they want you to fix it. You start looking into it and notice their hosting is a bit sucky and also […]","og_url":"https:\/\/wprealm.com\/5-steps-consider-taking-slow-wordpress-site\/","og_site_name":"WP Realm","article_publisher":"https:\/\/www.facebook.com\/wprealm","article_published_time":"2017-12-29T14:46:58+00:00","article_modified_time":"2019-01-05T15:35:54+00:00","og_image":[{"width":560,"height":397,"url":"https:\/\/wprealm.com\/wp-content\/uploads\/Green-Employee-Of-The-Month-Card.png","type":"image\/png"}],"author":"Nuno Morgadinho","twitter_card":"summary_large_image","twitter_creator":"@morgadin","twitter_site":"@wprealm","twitter_misc":{"Written by":"Nuno Morgadinho","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wprealm.com\/5-steps-consider-taking-slow-wordpress-site\/","url":"https:\/\/wprealm.com\/5-steps-consider-taking-slow-wordpress-site\/","name":"5 Steps to Consider When Taking over a Slow WordPress site - WP Realm","isPartOf":{"@id":"https:\/\/wprealm.com\/#website"},"datePublished":"2017-12-29T14:46:58+00:00","dateModified":"2019-01-05T15:35:54+00:00","author":{"@id":"https:\/\/wprealm.com\/#\/schema\/person\/dd0ff7725dbb3759825c5f5675554a4b"},"breadcrumb":{"@id":"https:\/\/wprealm.com\/5-steps-consider-taking-slow-wordpress-site\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wprealm.com\/5-steps-consider-taking-slow-wordpress-site\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wprealm.com\/5-steps-consider-taking-slow-wordpress-site\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wprealm.com\/"},{"@type":"ListItem","position":2,"name":"5 Steps to Consider When Taking over a Slow WordPress site"}]},{"@type":"WebSite","@id":"https:\/\/wprealm.com\/#website","url":"https:\/\/wprealm.com\/","name":"WP Realm","description":"WordPress news, community news, reviews and more from all over the world","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wprealm.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/wprealm.com\/#\/schema\/person\/dd0ff7725dbb3759825c5f5675554a4b","name":"Nuno Morgadinho","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wprealm.com\/#\/schema\/person\/image\/","url":"http:\/\/0.gravatar.com\/avatar\/f133ecd840e569a0cb81e04833c94339?s=96&d=mm&r=g","contentUrl":"http:\/\/0.gravatar.com\/avatar\/f133ecd840e569a0cb81e04833c94339?s=96&d=mm&r=g","caption":"Nuno Morgadinho"},"description":"Director of @WidgiLabs WordPress Super Agency. Passionate about the Web.","sameAs":["https:\/\/widgilabs.com","https:\/\/twitter.com\/morgadin"],"url":"http:\/\/wprealm.local\/author\/nuno\/"}]}},"_links":{"self":[{"href":"http:\/\/wprealm.local\/wp-json\/wp\/v2\/posts\/55784"}],"collection":[{"href":"http:\/\/wprealm.local\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/wprealm.local\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/wprealm.local\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"http:\/\/wprealm.local\/wp-json\/wp\/v2\/comments?post=55784"}],"version-history":[{"count":0,"href":"http:\/\/wprealm.local\/wp-json\/wp\/v2\/posts\/55784\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/wprealm.local\/wp-json\/wp\/v2\/media\/55825"}],"wp:attachment":[{"href":"http:\/\/wprealm.local\/wp-json\/wp\/v2\/media?parent=55784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/wprealm.local\/wp-json\/wp\/v2\/categories?post=55784"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/wprealm.local\/wp-json\/wp\/v2\/tags?post=55784"},{"taxonomy":"people","embeddable":true,"href":"http:\/\/wprealm.local\/wp-json\/wp\/v2\/people?post=55784"},{"taxonomy":"company","embeddable":true,"href":"http:\/\/wprealm.local\/wp-json\/wp\/v2\/company?post=55784"},{"taxonomy":"events","embeddable":true,"href":"http:\/\/wprealm.local\/wp-json\/wp\/v2\/events?post=55784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}