• Background
    • Awards
    • Biography
    • Resume
  • Blog
    • Articles
    • Cookie Policy
    • Galleries
      • Photo Gallery
      • Video Gallery
    • Glossary
  • Contact
    • Contact
    • Social Networks
  • IT
    • Downloads
      • Windows
    • Equipment
    • Hardware
    • Software
    • Testimonial
    • Information Technology
  • Projects
    • Business Projects
    • HackBook Projects
    • Hackintosh Projects
    • Website Projects
    • More Projects
  • Service Rates
    • Business Rates
    • Residential Rates

Disable Hotlinking

Sunday, June 21, 2015 Articles, News Comments Off on Disable Hotlinking

Do you need to disable hotlinking to your sites and server? Here is a sample (that I actually deployed) with my primary domain, alias and IP address.

# [ CP Global Hotlinking – Open ]
RewriteEngine on
# Options +FollowSymlinks
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?64.131.82.167/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?nyhtml.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?stephanpringle.com/.*$ [NC]
RewriteRule \.(gif|jpg|jpeg|png|js|css|ico)$ – [F]
# [ CP Global Hotlinking – Close ]

Special thanks to the folks over at Dynamic Drive for their banning generator.

The following two tabs change content below.
  • Bio
  • Latest Posts
facebook-profile-picture
My Twitter profileMy Facebook profileMy LinkedIn profileMy Pinterest profileMy YouTube channel

Stephan Pringle

Chief Executive Officer at Sipylus
About The Author: Stephan Pringle is an Information Technology Specialist. He covers hardware and software and provides tips for you to troubleshoot and repair issues on your own. In his spare time, he writes articles about the State of New York on his Hackintosh and HackBook and that has helped him to become the top contributor of the New York City section of Yahoo! Answers.
facebook-profile-picture
My Twitter profileMy Facebook profileMy LinkedIn profileMy Pinterest profileMy YouTube channel

Latest posts by Stephan Pringle (see all)

  • The New Microsoft Edge is Old - Friday, January 15, 2021

Related posts:

  1. Block Spam Referrers via .htaccess
  2. Block Traffic from URLOpener.com
  3. Fixing WWW Resolve Errors
  4. Protection against DDoS
  5. Say Farewell to Orkut
  6. Monster Hunter: World
  7. Global WordPress Attack
  8. Spoofed: ICT Service Desk
  9. HP LaserJet 1022 and Windows Update
  10. Disable AdBlock
  11. Disable AdBlock Plus
  12. Disable uBlock
  13. Disable Ghostery
  14. Disable Auto Updates
  15. Disable Health Monitor
  16. Disable Mopier Mode
  17. Disable uBlock Origin
  18. Disable Sleep and Hibernate
  19. Banner Navigation & HESAA.org
  20. Disable Safe Watch Popup on Popcorn Time

Comments are closed.




Copyright © 1990-2020 Stephan Pringle. All rights reserved.

Stephan Pringle

IT Technical Support Specialist

  • Keyword Search

  • Translator

  • Topic Sponsor

I am always working to improve your experience on my website. Part of this involves using cookies to collect anonymous data for statistics and personalization. Learn more