Hotlinking is when another website links directly to your images or files, using your bandwidth to display content on their site. Hotlink protection stops this by only allowing your own site to load your files. This guide explains how to enable it in DirectAdmin.
Por que o hotlinking é um problema #
- It uses your bandwidth to serve other people’s pages.
- Suas imagens aparecem em sites que você não controla.
- It can slow things down and cost you resources.
Ativando a proteção contra hotlinks #
- Faça login no DirectAdmin.
- Encontre o Proteção contra hotlinks tool.
- Enable protection.
- Confirm your own domain is allowed, so your site still loads its files.
- List the file types to protect, such as jpg, png, and gif.
- Salvar.
Permitir exceções #
If you want certain other sites, such as a partner or a social platform preview, to load your images, add them to the allowed list. Everything not on the list will be blocked from hotlinking your protected file types.
Pontos a serem lembrados #
- Make sure your own domain (with and without www) is allowed.
- Search engines and some previews may need access to image files.
- Test your site afterwards to confirm images still display for you.
Solução de problemas #
- Your own images broke: Adicione seu domínio à lista de endereços permitidos.
- Social previews missing images: permitir a plataforma em questão.
Precisa de ajuda? #
Caso a proteção contra hotlinks bloqueie algo que não deveria, nossa equipe de suporte pode ajustá-la por meio do chat ao vivo.