{"id":29073,"date":"2024-07-11T03:05:17","date_gmt":"2024-07-11T03:05:17","guid":{"rendered":"https:\/\/green.cloud\/docs\/docs\/greencloud-documents\/hosting-cpanel\/how-to-enable-hotlink-protection-in-cpanel\/"},"modified":"2026-01-19T00:45:50","modified_gmt":"2026-01-19T00:45:50","slug":"how-to-enable-hotlink-protection-in-cpanel","status":"publish","type":"docs","link":"https:\/\/green.cloud\/docs\/how-to-enable-hotlink-protection-in-cpanel\/","title":{"rendered":"How to Enable Hotlink Protection in cPanel"},"content":{"rendered":"<p>Hotlink protection prevents other websites from directly linking to files and pictures on your website. Other sites will only link to file types that you don&#8217;t specify.<\/p>\n<p><strong>Sample\u00a0<\/strong><span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\"><strong>hotlinking scenario<\/strong>: Say I like the image on your website and want that image on my site. If I use the full URL of your image on my site, the image downloads<\/span>\u00a0from your site every time someone looks at mine. This means I am using your bandwidth for the image. When you enable Hotlink Protection, I cannot steal your bandwidth anymore.<\/p>\n<p><iframe title=\"How to Configure Hotlink Protection in cPanel | Hosting Tutorial\" width=\"1170\" height=\"658\" src=\"https:\/\/www.youtube.com\/embed\/XPnKjohMhP8?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<h2><strong>How to configure Hotlink Protection<\/strong><\/h2>\n<h3><strong>To enable Hotlink Protection:<\/strong><\/h3>\n<ol>\n<li>Log in to\u00a0cPanel.<\/li>\n<li>Look for the\u00a0<strong>Security<\/strong>\u00a0section, then click\u00a0<strong>Hotlink Protection<br \/>\n<\/strong>.<picture class=\"webpexpress-processed\"><img decoding=\"async\" class=\"webpexpress-processed\" title=\"How to Enable Leech Protection in cPanel\" src=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/07\/Screenshot_1-5.png\" alt=\"How to Enable Leech Protection in cPanel\" \/><\/picture><\/li>\n<li>Make sure the domain name you wish to protect is in the box called\u00a0<strong>URLs to allow access<br \/>\n<\/strong>.<picture class=\"webpexpress-processed\"><img decoding=\"async\" class=\"webpexpress-processed\" title=\"How to Enable Leech Protection in cPanel\" src=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/07\/Screenshot_2-5.png\" alt=\"How to Enable Leech Protection in cPanel\" \/><\/picture><\/li>\n<li>If you&#8217;re satisfied with the URLs and current settings, click the\u00a0<strong>Enable<\/strong>\u00a0button<br \/>\n.<img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/07\/Screenshot_3-3.png\" alt=\"Hotlink Enabled\" \/><br \/>\nIf you want to further configure the settings, proceed to Step 5 (without clicking the Enable button yet).<\/li>\n<li>Provide the extensions you would like to block in the\u00a0<strong>Block direct access<\/strong>\u00a0for the following extensions (comma-separated)<br \/>\n.<img decoding=\"async\" class=\"img-responsive\" src=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/07\/Screenshot_4-2.png\" alt=\"cPanel - Block Direct Access for Hotlinking\" width=\"450\" \/><\/li>\n<li>Leave the\u00a0<strong>Redirect the request to this URL<\/strong>\u00a0box blank unless you want outside users to be redirected to another page. If yes, input the\u00a0destination URL.<\/li>\n<li>Hit\u00a0<strong>Submit<\/strong>.<br \/>\nA successful confirmation page will appear<br \/>\n.<picture class=\"webpexpress-processed\"><img decoding=\"async\" class=\"webpexpress-processed\" title=\"How to Enable Leech Protection in cPanel\" src=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/07\/Screenshot_5-1.png\" alt=\"How to Enable Leech Protection in cPanel\" \/><\/picture><\/li>\n<li>Click\u00a0<strong>Go Back<\/strong>.<\/li>\n<\/ol>\n<h3><strong>To disable Hotlink Protection:<\/strong><\/h3>\n<ol>\n<li>On the Hotlink Protection page, click\u00a0<strong>Disable<\/strong>.\n<picture class=\"webpexpress-processed\"><img decoding=\"async\" class=\"webpexpress-processed\" title=\"How to Enable Leech Protection in cPanel\" src=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/07\/Screenshot_6-1.png\" alt=\"How to Enable Leech Protection in cPanel\" \/><\/picture><\/li>\n<li>A confirmation page will be displayed<br \/>\n.<picture class=\"webpexpress-processed\"><img decoding=\"async\" class=\"webpexpress-processed\" title=\"How to Enable Leech Protection in cPanel\" src=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/07\/Screenshot_7.png\" alt=\"How to Enable Leech Protection in cPanel\" \/><\/picture><\/li>\n<\/ol>\n<p>You have now protected your images from being hot-linked. Just be sure that all of your additional domains are on the Hotlink list.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hotlink protection prevents other websites from directly linking to files and pictures on your website. Other sites will only link to file types that you don&#8217;t specify. Sample\u00a0hotlinking scenario: Say I like the image on your website and want that image on my site. If I use the full URL of your image on my [&hellip;]<\/p>\n","protected":false},"author":15,"featured_media":0,"parent":27575,"menu_order":672,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-29073","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Enable Hotlink Protection in cPanel - GreenCloud Documentation<\/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:\/\/green.cloud\/docs\/how-to-enable-hotlink-protection-in-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Enable Hotlink Protection in cPanel - GreenCloud Documentation\" \/>\n<meta property=\"og:description\" content=\"Hotlink protection prevents other websites from directly linking to files and pictures on your website. Other sites will only link to file types that you don&#8217;t specify. Sample\u00a0hotlinking scenario: Say I like the image on your website and want that image on my site. If I use the full URL of your image on my [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/green.cloud\/docs\/how-to-enable-hotlink-protection-in-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"GreenCloud Documentation\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-19T00:45:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/07\/Screenshot_1-5.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/green.cloud\\\/docs\\\/how-to-enable-hotlink-protection-in-cpanel\\\/\",\"url\":\"https:\\\/\\\/green.cloud\\\/docs\\\/how-to-enable-hotlink-protection-in-cpanel\\\/\",\"name\":\"How to Enable Hotlink Protection in cPanel - GreenCloud Documentation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/green.cloud\\\/docs\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/green.cloud\\\/docs\\\/how-to-enable-hotlink-protection-in-cpanel\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/green.cloud\\\/docs\\\/how-to-enable-hotlink-protection-in-cpanel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/green.cloud\\\/docs\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/Screenshot_1-5.png\",\"datePublished\":\"2024-07-11T03:05:17+00:00\",\"dateModified\":\"2026-01-19T00:45:50+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/green.cloud\\\/docs\\\/how-to-enable-hotlink-protection-in-cpanel\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/green.cloud\\\/docs\\\/how-to-enable-hotlink-protection-in-cpanel\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/green.cloud\\\/docs\\\/how-to-enable-hotlink-protection-in-cpanel\\\/#primaryimage\",\"url\":\"https:\\\/\\\/green.cloud\\\/docs\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/Screenshot_1-5.png\",\"contentUrl\":\"https:\\\/\\\/green.cloud\\\/docs\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/Screenshot_1-5.png\",\"width\":1343,\"height\":364},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/green.cloud\\\/docs\\\/how-to-enable-hotlink-protection-in-cpanel\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/green.cloud\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"GreenCloud Documents\",\"item\":\"https:\\\/\\\/green.cloud\\\/docs\\\/docs\\\/greencloud-documents\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Hosting cPanel\",\"item\":\"https:\\\/\\\/green.cloud\\\/docs\\\/greencloud-documents\\\/hosting-cpanel\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"How to Enable Hotlink Protection in cPanel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/green.cloud\\\/docs\\\/#website\",\"url\":\"https:\\\/\\\/green.cloud\\\/docs\\\/\",\"name\":\"GreenCloud Documentation\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/green.cloud\\\/docs\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Enable Hotlink Protection in cPanel - GreenCloud Documentation","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:\/\/green.cloud\/docs\/how-to-enable-hotlink-protection-in-cpanel\/","og_locale":"en_US","og_type":"article","og_title":"How to Enable Hotlink Protection in cPanel - GreenCloud Documentation","og_description":"Hotlink protection prevents other websites from directly linking to files and pictures on your website. Other sites will only link to file types that you don&#8217;t specify. Sample\u00a0hotlinking scenario: Say I like the image on your website and want that image on my site. If I use the full URL of your image on my [&hellip;]","og_url":"https:\/\/green.cloud\/docs\/how-to-enable-hotlink-protection-in-cpanel\/","og_site_name":"GreenCloud Documentation","article_modified_time":"2026-01-19T00:45:50+00:00","og_image":[{"url":"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/07\/Screenshot_1-5.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/green.cloud\/docs\/how-to-enable-hotlink-protection-in-cpanel\/","url":"https:\/\/green.cloud\/docs\/how-to-enable-hotlink-protection-in-cpanel\/","name":"How to Enable Hotlink Protection in cPanel - GreenCloud Documentation","isPartOf":{"@id":"https:\/\/green.cloud\/docs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/green.cloud\/docs\/how-to-enable-hotlink-protection-in-cpanel\/#primaryimage"},"image":{"@id":"https:\/\/green.cloud\/docs\/how-to-enable-hotlink-protection-in-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/07\/Screenshot_1-5.png","datePublished":"2024-07-11T03:05:17+00:00","dateModified":"2026-01-19T00:45:50+00:00","breadcrumb":{"@id":"https:\/\/green.cloud\/docs\/how-to-enable-hotlink-protection-in-cpanel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/green.cloud\/docs\/how-to-enable-hotlink-protection-in-cpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/green.cloud\/docs\/how-to-enable-hotlink-protection-in-cpanel\/#primaryimage","url":"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/07\/Screenshot_1-5.png","contentUrl":"https:\/\/green.cloud\/docs\/wp-content\/uploads\/2024\/07\/Screenshot_1-5.png","width":1343,"height":364},{"@type":"BreadcrumbList","@id":"https:\/\/green.cloud\/docs\/how-to-enable-hotlink-protection-in-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/green.cloud\/docs\/"},{"@type":"ListItem","position":2,"name":"GreenCloud Documents","item":"https:\/\/green.cloud\/docs\/docs\/greencloud-documents\/"},{"@type":"ListItem","position":3,"name":"Hosting cPanel","item":"https:\/\/green.cloud\/docs\/greencloud-documents\/hosting-cpanel\/"},{"@type":"ListItem","position":4,"name":"How to Enable Hotlink Protection in cPanel"}]},{"@type":"WebSite","@id":"https:\/\/green.cloud\/docs\/#website","url":"https:\/\/green.cloud\/docs\/","name":"GreenCloud Documentation","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/green.cloud\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/docs\/29073","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/comments?post=29073"}],"version-history":[{"count":9,"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/docs\/29073\/revisions"}],"predecessor-version":[{"id":36315,"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/docs\/29073\/revisions\/36315"}],"up":[{"embeddable":true,"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/docs\/27575"}],"wp:attachment":[{"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/media?parent=29073"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/green.cloud\/docs\/wp-json\/wp\/v2\/doc_tag?post=29073"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}