{"id":1015,"date":"2015-01-25T07:54:16","date_gmt":"2015-01-25T07:54:16","guid":{"rendered":"http:\/\/elbsolutions.com\/projects\/?p=1015"},"modified":"2022-02-03T11:24:59","modified_gmt":"2022-02-03T17:24:59","slug":"reducing-bandwidth-website","status":"publish","type":"post","link":"https:\/\/elbsolutions.com\/projects\/reducing-bandwidth-website\/","title":{"rendered":"Reducing bandwidth on your website"},"content":{"rendered":"<p>So recently I have been getting bandwidth warnings on two of my top reaching websites. Why? Well, it is because of WordPress plug ins. Not all are optimized and not all features are enabled on the websites that could make them optimal. So lets find out what can help.<!--more--><\/p>\n<ul>\n<li><a href=\"http:\/\/premium.wpmudev.org\/forums\/topic\/hundreds-of-wordpress-websites-hit-by-hackers\" target=\"_blank\" rel=\"noopener noreferrer\">Hardening your wordpress installation<\/a>.<\/li>\n<li>first, I went to google to look at some tools that could help. Someone recommended <a href=\"http:\/\/developers.google.com\/speed\/pagespeed\/insights\/\" target=\"_blank\" rel=\"noopener noreferrer\">Google Insights<\/a>\u00a0. This was quite informative.\n<ul>\n<li>Compression was not enabled for this site &#8211; being apache -the recommendation showed that I should <a href=\"https:\/\/developers.google.com\/speed\/docs\/insights\/EnableCompression\" target=\"_blank\" rel=\"noopener noreferrer\">enable mod_deflate<\/a>. My hosting company recommended how to do this in cPanel using the &#8220;optimize website&#8221; feature. Simple.<\/li>\n<\/ul>\n<\/li>\n<li>If you look at AWStats (comes w. cPanel it seems) and click on Hosts-&gt;Full List &#8211; I saw China, France and Saudi Arabia as pulling the most bandwidth. Now I have not found a good way to narrow down the exact IP&#8217;s since my log did not go back to the 22nd when those 5.9GB hogs of bandwidth kicked into high gear. I am onto the culprits I think\n<ul>\n<li><a href=\"http:\/\/software77.net\/geo-ip\/multi-lookup\/\" target=\"_blank\" rel=\"noopener noreferrer\">Use this site to look up countries<\/a>. I managed to block LOTs of Chinese, German and France sources. I could not find the Saudi source. Basically I added 120.1.0.1 to 120.254.0.1 into Excel made a list and copied and pasted into that site (255 entries). I added this to the end of my .htaccess<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n[bas]\n<p>Order Deny,Allow<br \/>\nDeny from 180.<br \/>\nDeny from 212.<br \/>\nDeny from 123.<br \/>\nDeny from 178.<br \/>\nDeny from 119.<br \/>\nDeny from 120.<br \/>\nDeny from 182.<br \/>\nDeny from 220.<br \/>\nallow from all<\/p>\n[\/bas]\n<p>Looking into things- <a href=\"https:\/\/support.terranetwork.net\/web\/knowledgebase\/127\/Checking-Bandwidth-Usage.html\" target=\"_blank\" rel=\"noopener noreferrer\">this guy says the same thing<\/a> I am (so I am on a good path). It is a slow path though. What a pain &#8211; I might make a program to do this because I have 3 sites threatening to go overboard on the usage and it external influences &#8211; not the primary users the\u00a0sites NOR is it overly large images although I cleared a few up. <a href=\"http:\/\/help.tibetbridges.com\/faq\/protect_your_bandwidth\/\" target=\"_blank\" rel=\"noopener noreferrer\">This guy too<\/a> &#8211; but he makes a leap from a step to &#8220;block the bad guys&#8221; &#8211; but how did he get the bad guy&#8217;s IP address? He does not say and I have not yet found it either. A pivot table on usage is the best advice from 2 links up.<\/p>\n<p><a href=\"http:\/\/www.nirsoft.net\/countryip\/fr.html\" target=\"_blank\" rel=\"noopener noreferrer\">Here is a tool to block a whole country<\/a> &#8211; but the list of rules would be huge. Doing it like I did gives a little smaller list.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So recently I have been getting bandwidth warnings on two of my top reaching websites. Why? Well, it is because of WordPress plug ins. Not all are optimized and not all features are enabled on the websites that could make them optimal. So lets find out what can help.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,13],"tags":[],"class_list":["post-1015","post","type-post","status-publish","format-standard","hentry","category-general","category-web-integration"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Reducing bandwidth on your website - ELB Solutions.com Inc.<\/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:\/\/elbsolutions.com\/projects\/reducing-bandwidth-website\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Reducing bandwidth on your website - ELB Solutions.com Inc.\" \/>\n<meta property=\"og:description\" content=\"So recently I have been getting bandwidth warnings on two of my top reaching websites. Why? Well, it is because of WordPress plug ins. Not all are optimized and not all features are enabled on the websites that could make them optimal. So lets find out what can help.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/elbsolutions.com\/projects\/reducing-bandwidth-website\/\" \/>\n<meta property=\"og:site_name\" content=\"ELB Solutions.com Inc.\" \/>\n<meta property=\"article:published_time\" content=\"2015-01-25T07:54:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-03T17:24:59+00:00\" \/>\n<meta name=\"author\" content=\"Etienne Bley\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Etienne Bley\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/reducing-bandwidth-website\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/reducing-bandwidth-website\\\/\"},\"author\":{\"name\":\"Etienne Bley\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\"},\"headline\":\"Reducing bandwidth on your website\",\"datePublished\":\"2015-01-25T07:54:16+00:00\",\"dateModified\":\"2022-02-03T17:24:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/reducing-bandwidth-website\\\/\"},\"wordCount\":412,\"articleSection\":[\"General\",\"Web Integration\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/reducing-bandwidth-website\\\/\",\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/reducing-bandwidth-website\\\/\",\"name\":\"Reducing bandwidth on your website - ELB Solutions.com Inc.\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#website\"},\"datePublished\":\"2015-01-25T07:54:16+00:00\",\"dateModified\":\"2022-02-03T17:24:59+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/reducing-bandwidth-website\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/reducing-bandwidth-website\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/reducing-bandwidth-website\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Reducing bandwidth on your website\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#website\",\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/\",\"name\":\"ELB Solutions.com Inc.\",\"description\":\"Bringing all your IT Pieces together\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\",\"name\":\"Etienne Bley\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"caption\":\"Etienne Bley\"},\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/author\\\/etienne-bley\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Reducing bandwidth on your website - ELB Solutions.com Inc.","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:\/\/elbsolutions.com\/projects\/reducing-bandwidth-website\/","og_locale":"en_US","og_type":"article","og_title":"Reducing bandwidth on your website - ELB Solutions.com Inc.","og_description":"So recently I have been getting bandwidth warnings on two of my top reaching websites. Why? Well, it is because of WordPress plug ins. Not all are optimized and not all features are enabled on the websites that could make them optimal. So lets find out what can help.","og_url":"https:\/\/elbsolutions.com\/projects\/reducing-bandwidth-website\/","og_site_name":"ELB Solutions.com Inc.","article_published_time":"2015-01-25T07:54:16+00:00","article_modified_time":"2022-02-03T17:24:59+00:00","author":"Etienne Bley","twitter_misc":{"Written by":"Etienne Bley","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/elbsolutions.com\/projects\/reducing-bandwidth-website\/#article","isPartOf":{"@id":"https:\/\/elbsolutions.com\/projects\/reducing-bandwidth-website\/"},"author":{"name":"Etienne Bley","@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39"},"headline":"Reducing bandwidth on your website","datePublished":"2015-01-25T07:54:16+00:00","dateModified":"2022-02-03T17:24:59+00:00","mainEntityOfPage":{"@id":"https:\/\/elbsolutions.com\/projects\/reducing-bandwidth-website\/"},"wordCount":412,"articleSection":["General","Web Integration"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/elbsolutions.com\/projects\/reducing-bandwidth-website\/","url":"https:\/\/elbsolutions.com\/projects\/reducing-bandwidth-website\/","name":"Reducing bandwidth on your website - ELB Solutions.com Inc.","isPartOf":{"@id":"https:\/\/elbsolutions.com\/projects\/#website"},"datePublished":"2015-01-25T07:54:16+00:00","dateModified":"2022-02-03T17:24:59+00:00","author":{"@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39"},"breadcrumb":{"@id":"https:\/\/elbsolutions.com\/projects\/reducing-bandwidth-website\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/elbsolutions.com\/projects\/reducing-bandwidth-website\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/elbsolutions.com\/projects\/reducing-bandwidth-website\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/elbsolutions.com\/projects\/"},{"@type":"ListItem","position":2,"name":"Reducing bandwidth on your website"}]},{"@type":"WebSite","@id":"https:\/\/elbsolutions.com\/projects\/#website","url":"https:\/\/elbsolutions.com\/projects\/","name":"ELB Solutions.com Inc.","description":"Bringing all your IT Pieces together","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/elbsolutions.com\/projects\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39","name":"Etienne Bley","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","caption":"Etienne Bley"},"url":"https:\/\/elbsolutions.com\/projects\/author\/etienne-bley\/"}]}},"_links":{"self":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/1015","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/comments?post=1015"}],"version-history":[{"count":7,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/1015\/revisions"}],"predecessor-version":[{"id":2760,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/1015\/revisions\/2760"}],"wp:attachment":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/media?parent=1015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/categories?post=1015"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/tags?post=1015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}