Hotlink protect all images on my domain except allow hotlinking from one directory only

Discussion Of All Legal Topics Is Fine Anything Goes. Be Respectful of Others. No Personal Information or Attacks.
All Traffic, Link, Banner, Push Notification and Advertising, Offers & Requests Here,.
Domains & Websites For Sale and Requests Here.
Keep One thread per person & No More Than 1 Weekly Bump.
Post Reply
User avatar
alina
Verified Member
Verified Member
Posts: 242
Joined: July 6th, 2018, 9:06 am

Hotlink protect all images on my domain except allow hotlinking from one directory only

#1

Post by alina » August 4th, 2025, 8:14 am

Hello friends

My hotlinking is enabled in CPanel, now I have a problem. I trade banners with other sites, where we link to each others banners, since enabling hot linking on Saturday to protect my pics in the "/pics/" and other directories, the banners in my "/banner/" directory are protected too, this created a problem.

Any banners on other peoples' sites form my "/banner/" directory come up broken.

Is this possible to protect all gifs, jpg, .jpegs and .psd banners on my domain except for them in "/banner/"

Thank you for your time reading this request.




User avatar
jag
Verified Member
Verified Member
Posts: 6527
Joined: February 15th, 2018, 9:51 am
Title: From Malta with love
Referrals: 1

#2

Post by jag » August 4th, 2025, 9:01 am

Hi hon create a new .HTACCESS file

( a blank page in Notepad)

put just this code in it.

Code: Select all

# disable hotlink protection
RewriteEngine off
From Malta with love and sunshine

User avatar
alina
Verified Member
Verified Member
Posts: 242
Joined: July 6th, 2018, 9:06 am

#3

Post by alina » August 4th, 2025, 9:59 am

jag wrote: ↑
August 4th, 2025, 9:01 am
Hi hon create a new .HTACCESS file

( a blank page in Notepad)

put just this code in it.

Code: Select all

# disable hotlink protection
RewriteEngine off
It did the trick thanks jag




User avatar
TheButcher
Administrator
Administrator
Posts: 17526
Joined: February 2nd, 2018, 11:48 am
Title: I like weekends
Referrals: 1
Contact:

#4

Post by TheButcher » August 5th, 2025, 9:42 am

You got to love htaccess, it's such a great 1 file box of tricks.

blingman
Verified Member
Verified Member
Posts: 1134
Joined: May 13th, 2018, 11:19 am

#5

Post by blingman » August 12th, 2025, 9:18 pm

TheButcher wrote: ↑
August 5th, 2025, 9:42 am
You got to love htaccess, it's such a great 1 file box of tricks.
If you see mine it's long real long with so many commands , blocks, exemptions tptr454




User avatar
cimage
Verified Member
Verified Member
Posts: 1592
Joined: June 3rd, 2018, 2:36 pm
Title: living the good life

#6

Post by cimage » August 14th, 2025, 4:31 pm

alina wrote: ↑
August 4th, 2025, 8:14 am
Hello friends

My hotlinking is enabled in CPanel, now I have a problem. I trade banners with other sites, where we link to each others banners, since enabling hot linking on Saturday to protect my pics in the "/pics/" and other directories, the banners in my "/banner/" directory are protected too, this created a problem.

Any banners on other peoples' sites form my "/banner/" directory come up broken.

Is this possible to protect all gifs, jpg, .jpegs and .psd banners on my domain except for them in "/banner/"

Thank you for your time reading this request.
The best option is everyone trading banners serves them off their site not hot link them.
Stop looking for reps if they don't care why waste your time and traffic at their program, fuck that.
~ cimage 2024

alsporn
Verified Member
Verified Member
Posts: 600
Joined: May 12th, 2018, 4:35 pm

#7

Post by alsporn » August 22nd, 2025, 8:08 pm

Any one wants to link to my site banner is welcome to do so




User avatar
tacnet
Board Sponsor
Board Sponsor
Posts: 3641
Joined: February 22nd, 2019, 7:21 pm
Referrals: 9
Contact:

#8

Post by tacnet » August 23rd, 2025, 1:31 am

alina wrote: ↑
August 4th, 2025, 8:14 am
Hello friends

My hotlinking is enabled in CPanel, now I have a problem. I trade banners with other sites, where we link to each others banners, since enabling hot linking on Saturday to protect my pics in the "/pics/" and other directories, the banners in my "/banner/" directory are protected too, this created a problem.

Any banners on other peoples' sites form my "/banner/" directory come up broken.

Is this possible to protect all gifs, jpg, .jpegs and .psd banners on my domain except for them in "/banner/"

Thank you for your time reading this request.
Tip - Don't put your banners in a folder called /banner/ . Add blockers will pick that up and block it

Hotlink protect all images on my domain except allow hotlinking from one directory only

Post Reply