DEV Community

Muna Mohamed
Muna Mohamed

Posted on

6

Hotlinking - what's that?

image

We’ve all done it. You see an image you like on the internet and proceed to copy and paste the URL to your own website. Now every time someone visits your website, that image you copy-pasted loads up making your website look all lovely and nice. But what if I was to tell you that that (mostly) innocent action can cause a whole lot of trouble, for the original website owner and in some causes, yourself? Confused? Read on.

That “innocent copy-paste job is called hotlinking and here are 3 reasons why you shouldn’t do it.

1. It can cost the original content owner a lot of money

Every time someone visits your website and that “hot-linked image loads up, the image is loaded using the original content owner’s server. The more people that visit your website → the more times the image loads up → the more traffic you will send to the original owner’s server. The costs can add up for the original owner of the content which can end up being A LOT. (Check out this story to see what I mean, Click here!)

2. The “hotlinked image you use can be replaced at anytime by the original owner

Put yourself in the content creator’s shoes. Increased traffic to his/her server is costing them money. So to deter people from hotlinking their images, they apply a custom error page using a .htaccess file. So now, when your website loads up instead of that image you copy-pasted, an error pops up. Or in other cases, the “hotlinked image is replaced with a different image. Can you imagine a potential client checking out your online personal portfolio and seeing an inappropriate image on there instead? Not cool.

3. Let’s be honest, hotlinking isn’t very nice

Growing up, my mother always told me to treat others how I would like to be treated. Let’s be frank, if somebody hotlinked content from your website you wouldn’t be happy about it.

You’re basically using someone else’s resources for your own benefit.
The original content owner has paid for a certain amount of space to host their files. So when you hotlink their images or videos to your own website , you are using bandwidth from their server. The more your website is viewed, the more resources you’re taking away from the original owner of the content. This can get expensive, particularly for small businesses or blogs, if they go over their allotted amount of bandwidth and space that they pay for each month.

So the next time you’re tempted to hotlink someone else’s content, please think twice!

This is my first article that I’ve posted and I’m so glad that I’ve finally posted on this platform! If you liked this article, like, follow and share! I would greatly appreciate it. :)

Image of AssemblyAI tool

Transforming Interviews into Publishable Stories with AssemblyAI

Insightview is a modern web application that streamlines the interview workflow for journalists. By leveraging AssemblyAI's LeMUR and Universal-2 technology, it transforms raw interview recordings into structured, actionable content, dramatically reducing the time from recording to publication.

Key Features:
🎥 Audio/video file upload with real-time preview
🗣️ Advanced transcription with speaker identification
⭐ Automatic highlight extraction of key moments
✍️ AI-powered article draft generation
📤 Export interview's subtitles in VTT format

Read full post

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay