Select location & language
  • Österreich German
  • Australia English
  • België Dutch
  • Canada English
  • Schweiz German
  • Deutschland German
  • Eesti English
  • Ελλάδα English
  • España Spanish
  • France French
  • Hrvatska English
  • Italia English
  • Latvija English
  • Lietuva English
  • Nederland Dutch
  • Norge Norwegian
  • Polska Polish
  • Portugal Portuguese
  • Slovensko English
  • Suomi Finnish
  • Sverige Swedish
  • United Kingdom English
  • United States English
  • American Samoa English
  • Andorra English
  • Anguilla English
  • Antarctica English
  • Bermuda English
  • British Indian Ocean Territory English
  • British Virgin Islands English
  • Cayman Islands English
  • Christmas Island English
  • Città del Vaticano English
  • Cocos (Keeling) Islands English
  • Falkland Islands English
  • French Southern Territories English
  • Gibraltar English
  • Guadeloupe French
  • Guam English
  • Guernsey English
  • Guyane française French
  • Heard & McDonald Islands English
  • Ireland English
  • Isle of Man English
  • Jersey English
  • Liechtenstein German
  • Luxembourg French
  • Malta English
  • Martinique French
  • Mayotte English
  • Monaco French
  • Montserrat English
  • New Zealand English
  • Norfolk Island English
  • Northern Mariana Islands English
  • Pitcairn Islands English
  • Puerto Rico Spanish
  • Réunion English
  • San Marino English
  • Slovenija English
  • St. Barthélemy English
  • St. Helena English
  • St. Martin English
  • St. Pierre & Miquelon English
  • Svalbard & Jan Mayen English
  • Turks & Caicos Islands English
  • U.S. Outlying Islands English
  • U.S. Virgin Islands English
  • Åland Islands English
  • Κύπρος English
  • Црна Гора English

How do I enable hotlink protection in cPanel?

1 min read

Hotlinking is when another site links directly to your images or files, using your bandwidth to display them on their pages. Hotlink protection stops this. This guide explains how to enable it in cPanel.

Why hotlinking is a problem #

  • It uses your bandwidth for other people’s pages.
  • Your images appear on sites you do not control.
  • It can waste resources and slow things down.

Enabling hotlink protection #

  1. Log in to cPanel.
  2. In the Security section, open Hotlink Protection.
  3. Confirm your own site URLs are in the allowed list.
  4. List the file types to protect, such as jpg, png, gif.
  5. Click Enable.

Allowing exceptions #

If you want certain other sites, such as a partner or social platform previews, to load your images, add them to the allowed list. Everything else is blocked from hotlinking the protected file types.

Things to keep in mind #

  • Make sure your domain with and without www is allowed.
  • Search engines and previews may need image access.
  • Test that your own images still display afterwards.

Troubleshooting #

  • Your images broke: add your domain to the allowed list.
  • Social previews missing: allow the relevant platform.

Need help? #

If hotlink protection blocks the wrong thing, our support team can fine-tune it over live chat.

What are your feelings