HomeBusiness Sites › Step‑by‑Step Checklist for Configuring Hotlink Protection on Property Images

Step‑by‑Step Checklist for Configuring Hotlink Protection on Property Images

Updated 2026-07-16 · Hosting Reviews

Hosting Reviews is reader-supported. This page contains affiliate links to Hostinger; we may earn a commission if you sign up through them — at no extra cost to you.

Why Hotlink Protection Matters for Real Estate Listings

When you run a Real Estate Website, every photo is a marketing asset. If other sites copy your images, they’ll eat up your bandwidth, hurt SEO, and dilute your brand. The configure hotlink protection property images checklist starts with the right hosting plan—shared, cloud, or VPS—so you have the bandwidth, speed, and security you need. Hostinger offers fast servers, free SSL, and one‑click WordPress installs that make this protection a breeze.

Step 1: Pick the Right Hosting Platform

Choose between:

Deal alert
Get Real Estate Website online
Showcase listings and capture leads — hosting and setup for agents, brokers and property managers who want more inquiries.
Build Your Real Estate Site on Hostinger →

Hostinger’s cloud plans sit in the $10–$30 range and include automatic backups, a CDN, and the same free SSL that protects your listings.

Step 2: Register a Domain and Install a CMS

Get a domain that matches your agency name. Hostinger lets you buy a domain and hosting in one step. For a Real Estate Website, WordPress is the most common choice because of IDX plugins and lead‑capture widgets. The one‑click installer saves hours of manual setup.

Step 3: Install an IDX‑Ready Theme or Builder

Choose a theme that supports IDX (e.g., Real Homes, Houzez) or use a page builder like Elementor with a real‑estate add‑on. Install the theme, then activate the IDX plugin to pull listings directly from your MLS. Configure the lead‑capture forms with a plugin like WPForms or Ninja Forms; these can be linked to your email list or CRM.

Step 4: Enable Hotlink Protection

The core of the checklist: prevent other sites from loading your property images directly. Below is a simple, platform‑agnostic method using .htaccess for Apache servers (the default on Hostinger). If you’re on Nginx, the steps are similar but the config file differs.

  1. Log in to Hostinger’s hPanel and open File Manager.
  2. Navigate to the root folder of your WordPress installation (usually public_html).
  3. Locate or create a file named .htaccess.
    • If it exists, back it up first.
    • Open it for editing.
  4. Add the following block at the top of the file:
# Hotlink Protection for Property Images
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$ [NC]
RewriteCond %{HTTP_REFERER} !^https?://(www\.)?yourdomain\.com [NC]
RewriteCond %{HTTP_REFERER} !^https?://(www\.)?yourdomain\.com/.* [NC]
RewriteCond %{HTTP_REFERER} !^https?://(www\.)?yourdomain\.com/wp-content/uploads/ [NC]
RewriteRule \\.(jpg|jpeg|png|gif)$ - [F]
  1. Replace yourdomain.com with your actual domain.
  2. Save the file and close the editor.
  3. Test by opening an image URL in a private browser window. You should see a “403 Forbidden” message.

For Nginx users, add the following to the /etc/nginx/conf.d/yourdomain.conf file:

location ~* \\.\(jpg|jpeg|png|gif\)$ {
    valid_referers none blocked *yourdomain.com *yourdomain.com/*;
    if ($invalid_referer) {
        return 403;
    }
}

Remember to reload Nginx after editing.

Step 5: Test & Monitor

Use tools like WebPageTest to confirm that image requests are blocked when the referer is absent. Monitor your bandwidth in Hostinger’s analytics; you should see a drop in external image hits.

Step 6: Optimize Images for Speed

Hotlink protection protects bandwidth, but image optimization keeps your site fast. Install a plugin like ShortPixel or Smush to compress JPEGs and PNGs automatically. Enable lazy loading (built‑in with recent WordPress versions) so only images in view load, further reducing bandwidth.

Step 7: Keep Security Tight

Final Checklist Recap

FAQ

1. Does hotlink protection affect my site's SEO?

No. Google still sees your images as part of your pages. The protection only stops other domains from pulling them.

2. Can I allow specific sites to use my images?

Yes. Add their domain to the valid_referers list or use RewriteCond to whitelist them in the .htaccess block.

3. What if I use a managed WordPress host that doesn’t let me edit .htaccess?

Ask the host for a custom hotlink rule or use a plugin like Prevent Direct Access that adds the rule behind the scenes.

Ready to buy?
Get Real Estate Website online
Showcase listings and capture leads — hosting and setup for agents, brokers and property managers who want more inquiries.
Build Your Real Estate Site on Hostinger →