| Actual for You |
Hubs | Hubbers | Topics | Request |
| #1 in Business | Subscribe Email Print |
|
You are here: Home > Internet and Businesses Online > Web Development > Advanced Hotlink Protection |
|
Actual for You - Advanced Hotlink Protection
3 Proven Ways To Make Money On Ebay h to redirect the hotlinkers or not. If you look at the second line again you will see the phrase ‘$ /stophotlink.gif’. Now the great thing about this is that it actually replaces the image your server will show with a custom one! So you may be want to post a rude picture, or maybe a brief injunction to stop nicking your bandwidth. Either way the image will be shown on the site linking to you, rather than the originally intended image.One of the quickest ways to make money online is by using ebay. As you know, ebay is a huge auction site and gets millions of visitors per day. Take a look here http://ebay.com Here's 3 proven ways to make money with ebay.#1 - Use your own closet, basement, attic or garage and look for useful items to make money on ebay. Many times, what's junk to you, is another persons treasure. Antiques, rare books, collectors cards, etc, are easy sellers and will put cash into pocket fairly quickly. Just clean them up a bit, take a picture of them with a digital camera, upload the photo, then write up an excellent description. Put a low starting bid price on the item and you're set. Within a few days, you could make an extra hundred dollars for h Even better, as the original site owner often still has the original image in their cache, they don’t even realise there’s been a switch. So while visitors to his site look upon your free advertising (or otherwise) he is blissfully un-aware that anything is wrong. Until he refreshes the page at least. The first line of that example is essential, by the way. It specifically tells the server to exclude the image ‘stophotlink.gif’ from the hotlink protection. You wouldn’t want a nasty infinite loop, now, would you? This same technique can be used to refer peo To Market to Market: Why Content is King Many of you may be using cPanel hosting software for your website, and may already have hotlink protection configured from within that. However, if you are finding that the set-up is limited, or indeed if you don’t run cPanel or other software which will do it for you automatically, this article is for you. I intend to talk about how to enable hotlink protection through the use of a .htaccess file, and in particular the special tricks you can perform with it.Perhaps it was the dot-com hype or perhaps barriers to entry on the Internet are just way too low. Whatever the reason, intelligent and otherwise successful entrepreneurs continue to throw money at websites as if they were buying billboard spots on the strip in Vegas. And more often than not, placing good content on those sites is an afterthought.It shouldn’t be. Here’s why:Your website’s content defines your product.Your website’s content is your location.Your website’s content supports your price.Your website’s content promotes your offerings.In short, your website’s content is a microcosm of all things marketing. Your content should be the heart and soul of your web-based business unit, even if that unit is par A brief introduction first. The file is not named htaccess, instead the file extension IS .htaccess. So in order to create the file you must create a blank text file, lets say new.txt, and simply rename it .htaccess. As long as your server is running apache (which most are) this neat little file will allow you to set up custom error pages, block certain IP addresses and sites, put 301 redirects in place and, most importantly, stop hotlinking. Hot linking is often used as a curse in web developer circles. Also known as bandwidth theft, it means linking directly to files and images on somebody else’s server. The victim of hotlinking loses the bandwidth that the files take up, possible visitors to their site that now no longer need to visit to get the resources that they need, and in turn loses money. Most commonly images are hotlinked, to be shown in blog posts, on forums and on unscrupulous webmaster’s own pages. The best way to stop this, in my experience, is to use the redirects present in the .htaccess file. Take a look at this code extract below:
RewriteEngine on
RewriteCond %{HTTP_REFERER} .
RewriteCond %{HTTP_REFERER} !^http://([^.]+\.)?shock-therapy\. [NC]
RewriteCond %{HTTP_REFERER} !^http://([^.]+\.)?site1\. [NC]
RewriteCond %{HTTP_REFERER} !^http://([^.]+\.)?site2\. [NC]
RewriteCond %{HTTP_REFERER} !google\. [NC]
RewriteCond %{HTTP_REFERER} !search\?q=cache [NC]
RewriteCond %{REQUEST_URI} !^/stophotlink\.gif$
RewriteRule \.(gif|jpg|png)$ /stophotlink.gif [NC,L]
Now, lets go through this in order. The first line indicates to the server that you wish to rewrite certain file paths. As the htaccess is consulted before any request that the server processes, there is no way around this rewriting.The line: RewriteCond %{HTTP_REFERER} !^http://([^.]+\.)?shock-therapy\. [NC] Is important as it allows any of the images (in this case) to be viewed from within the site. Obviously you don’t want to set it up so you can’t see your own images! The !^ in this case acts as a ‘NOT’, meaning that any site prefaced with that will be allowed to link directly to any images. The ([^.]+\.)? in place of the typical www acts as a wild card, so that any sub domain can use this. This helps with canonical issues, as well as if you wish to allow a certain forum (which may use forum.site1.com, for example) access to the files. Of course, the other HTTP_REFERER lines show which sites other than your own are allowed direct links – in this case site1 and site2. Ok then, time for the first of the more advanced features. These two lines of code here:
RewriteCond %{HTTP_REFERER} !google\. [NC]
RewriteCond %{HTTP_REFERER} !search\?q=cache [NC]
These will allow Google image search direct access to your images. After all, it’ll annoy people who are looking for images if all they get is either an error or a custom image (I’ll get onto that soon). Of course, some people don’t like the idea of Google allowing people to access their copyright images, in which case these two lines should not be included.Now we come to the most essential part of it all. The next two lines specify which file type you want blocked and can even be used to configure a custom image to be shown (with advantages which will become apparent):
RewriteCond %{REQUEST_URI} !^/stophotlink\.gif$
RewriteRule \.(gif|jpg|png)$ /stophotlink.gif [NC,L]
The last line disables direct links to gif, jpg and png file types. Any other types that you wish to block can be added, however it is dependent upon whether you wish to redirect the hotlinkers or not. If you look at the second line again you will see the phrase ‘$ /stophotlink.gif’. Now the great thing about this is that it actually replaces the image your server will show with a custom one! So you may be want to post a rude picture, or maybe a brief injunction to stop nicking your bandwidth. Either way the image will be shown on the site linking to you, rather than the originally intended image.Even better, as the original site owner often still has the original image in their cache, they don’t even realise there’s been a switch. So while visitors to his site look upon your free advertising (or otherwise) he is blissfully un-aware that anything is wrong. Until he refreshes the page at least. The first line of that example is essential, by the way. It specifically tells the server to exclude the image ‘stophotlink.gif’ from the hotlink protection. You wouldn’t want a nasty infinite loop, now, would you? This same technique can be used to refer peop Don't Mail Postcards to Generate Appointments in Financial Services Direct Mail Lead Generation means linking directly to files and images on somebody else’s server. The victim of hotlinking loses the bandwidth that the files take up, possible visitors to their site that now no longer need to visit to get the resources that they need, and in turn loses money. Most commonly images are hotlinked, to be shown in blog posts, on forums and on unscrupulous webmaster’s own pages.I know a company that helps financial services professionals generate sales leads by hosting free financial planning seminars, usually with lunch or dinner included.The company mails full-color postcards to consumers, promoting the seminar at a nearby hotel. “There is no cost or obligation for this informative workshop, and the delicious meal is free to all who attend,” promises the postcard copy.Naturally, those who attend hear a sales pitch of one kind or another, and have a chance to meet some local financial planners face to face. The financial planners offer these free seminars as a way to get in front of a room full of potential clients at a reasonable cost.The mistake this company is about to make is think The best way to stop this, in my experience, is to use the redirects present in the .htaccess file. Take a look at this code extract below:
RewriteEngine on
RewriteCond %{HTTP_REFERER} .
RewriteCond %{HTTP_REFERER} !^http://([^.]+\.)?shock-therapy\. [NC]
RewriteCond %{HTTP_REFERER} !^http://([^.]+\.)?site1\. [NC]
RewriteCond %{HTTP_REFERER} !^http://([^.]+\.)?site2\. [NC]
RewriteCond %{HTTP_REFERER} !google\. [NC]
RewriteCond %{HTTP_REFERER} !search\?q=cache [NC]
RewriteCond %{REQUEST_URI} !^/stophotlink\.gif$
RewriteRule \.(gif|jpg|png)$ /stophotlink.gif [NC,L]
Now, lets go through this in order. The first line indicates to the server that you wish to rewrite certain file paths. As the htaccess is consulted before any request that the server processes, there is no way around this rewriting.The line: RewriteCond %{HTTP_REFERER} !^http://([^.]+\.)?shock-therapy\. [NC] Is important as it allows any of the images (in this case) to be viewed from within the site. Obviously you don’t want to set it up so you can’t see your own images! The !^ in this case acts as a ‘NOT’, meaning that any site prefaced with that will be allowed to link directly to any images. The ([^.]+\.)? in place of the typical www acts as a wild card, so that any sub domain can use this. This helps with canonical issues, as well as if you wish to allow a certain forum (which may use forum.site1.com, for example) access to the files. Of course, the other HTTP_REFERER lines show which sites other than your own are allowed direct links – in this case site1 and site2. Ok then, time for the first of the more advanced features. These two lines of code here:
RewriteCond %{HTTP_REFERER} !google\. [NC]
RewriteCond %{HTTP_REFERER} !search\?q=cache [NC]
These will allow Google image search direct access to your images. After all, it’ll annoy people who are looking for images if all they get is either an error or a custom image (I’ll get onto that soon). Of course, some people don’t like the idea of Google allowing people to access their copyright images, in which case these two lines should not be included.Now we come to the most essential part of it all. The next two lines specify which file type you want blocked and can even be used to configure a custom image to be shown (with advantages which will become apparent):
RewriteCond %{REQUEST_URI} !^/stophotlink\.gif$
RewriteRule \.(gif|jpg|png)$ /stophotlink.gif [NC,L]
The last line disables direct links to gif, jpg and png file types. Any other types that you wish to block can be added, however it is dependent upon whether you wish to redirect the hotlinkers or not. If you look at the second line again you will see the phrase ‘$ /stophotlink.gif’. Now the great thing about this is that it actually replaces the image your server will show with a custom one! So you may be want to post a rude picture, or maybe a brief injunction to stop nicking your bandwidth. Either way the image will be shown on the site linking to you, rather than the originally intended image.Even better, as the original site owner often still has the original image in their cache, they don’t even realise there’s been a switch. So while visitors to his site look upon your free advertising (or otherwise) he is blissfully un-aware that anything is wrong. Until he refreshes the page at least. The first line of that example is essential, by the way. It specifically tells the server to exclude the image ‘stophotlink.gif’ from the hotlink protection. You wouldn’t want a nasty infinite loop, now, would you? This same technique can be used to refer peo How to Convey Trustworthiness in Direct Mail Marketing Sales Letter e first line indicates to the server that you wish to rewrite certain file paths. As the htaccess is consulted before any request that the server processes, there is no way around this rewriting.A person or business that might buy from you is called a prospect. But they might just as accurately be called a skeptic. We live in the age of the spam filter. And call-display. We live in what fellow-copywriter Herschell Gordon Lewis calls, “The Age of Skepticism.”Your sales letters must overcome your reader’s built-in baloney detector. Your prospective customers are on their guard. Here, in no particular order, are some tips on how to prove your trustworthiness on paper.1. Third-party endorsementsIf your product has won an industry award for innovation, say so. If your service was ranked among the top 10 in your industry by a trade publication or other impartial group, mention that. Leverage the positive press you’ve r The line: RewriteCond %{HTTP_REFERER} !^http://([^.]+\.)?shock-therapy\. [NC] Is important as it allows any of the images (in this case) to be viewed from within the site. Obviously you don’t want to set it up so you can’t see your own images! The !^ in this case acts as a ‘NOT’, meaning that any site prefaced with that will be allowed to link directly to any images. The ([^.]+\.)? in place of the typical www acts as a wild card, so that any sub domain can use this. This helps with canonical issues, as well as if you wish to allow a certain forum (which may use forum.site1.com, for example) access to the files. Of course, the other HTTP_REFERER lines show which sites other than your own are allowed direct links – in this case site1 and site2. Ok then, time for the first of the more advanced features. These two lines of code here:
RewriteCond %{HTTP_REFERER} !google\. [NC]
RewriteCond %{HTTP_REFERER} !search\?q=cache [NC]
These will allow Google image search direct access to your images. After all, it’ll annoy people who are looking for images if all they get is either an error or a custom image (I’ll get onto that soon). Of course, some people don’t like the idea of Google allowing people to access their copyright images, in which case these two lines should not be included.Now we come to the most essential part of it all. The next two lines specify which file type you want blocked and can even be used to configure a custom image to be shown (with advantages which will become apparent):
RewriteCond %{REQUEST_URI} !^/stophotlink\.gif$
RewriteRule \.(gif|jpg|png)$ /stophotlink.gif [NC,L]
The last line disables direct links to gif, jpg and png file types. Any other types that you wish to block can be added, however it is dependent upon whether you wish to redirect the hotlinkers or not. If you look at the second line again you will see the phrase ‘$ /stophotlink.gif’. Now the great thing about this is that it actually replaces the image your server will show with a custom one! So you may be want to post a rude picture, or maybe a brief injunction to stop nicking your bandwidth. Either way the image will be shown on the site linking to you, rather than the originally intended image.Even better, as the original site owner often still has the original image in their cache, they don’t even realise there’s been a switch. So while visitors to his site look upon your free advertising (or otherwise) he is blissfully un-aware that anything is wrong. Until he refreshes the page at least. The first line of that example is essential, by the way. It specifically tells the server to exclude the image ‘stophotlink.gif’ from the hotlink protection. You wouldn’t want a nasty infinite loop, now, would you? This same technique can be used to refer peo Search Engine Optimization Overview features. These two lines of code here:
The importance of search engine optimization cannot be stressed enough. High rankings on search engines like Google, Yahoo, and the others ranks amongst your top priorities when putting yourself or your business online. Search Engine Optimization, or SEO for short, is exactly how you do this.The first thing you need to know about search engine optimization is what search engines are exactly and how they work. Frankly, I have no idea. From what I've heard and from what I've observed, Google and its inner workings rank up there with the greatest inventions of all time. It might even possibly be a greater invention than the entire universe.Kidding. Just seeing if you’re with me.All we really need to know is that search engines have a little
RewriteCond %{HTTP_REFERER} !google\. [NC]
RewriteCond %{HTTP_REFERER} !search\?q=cache [NC]
These will allow Google image search direct access to your images. After all, it’ll annoy people who are looking for images if all they get is either an error or a custom image (I’ll get onto that soon). Of course, some people don’t like the idea of Google allowing people to access their copyright images, in which case these two lines should not be included.Now we come to the most essential part of it all. The next two lines specify which file type you want blocked and can even be used to configure a custom image to be shown (with advantages which will become apparent):
RewriteCond %{REQUEST_URI} !^/stophotlink\.gif$
RewriteRule \.(gif|jpg|png)$ /stophotlink.gif [NC,L]
The last line disables direct links to gif, jpg and png file types. Any other types that you wish to block can be added, however it is dependent upon whether you wish to redirect the hotlinkers or not. If you look at the second line again you will see the phrase ‘$ /stophotlink.gif’. Now the great thing about this is that it actually replaces the image your server will show with a custom one! So you may be want to post a rude picture, or maybe a brief injunction to stop nicking your bandwidth. Either way the image will be shown on the site linking to you, rather than the originally intended image.Even better, as the original site owner often still has the original image in their cache, they don’t even realise there’s been a switch. So while visitors to his site look upon your free advertising (or otherwise) he is blissfully un-aware that anything is wrong. Until he refreshes the page at least. The first line of that example is essential, by the way. It specifically tells the server to exclude the image ‘stophotlink.gif’ from the hotlink protection. You wouldn’t want a nasty infinite loop, now, would you? This same technique can be used to refer peo Your Plan For Marketing Success h to redirect the hotlinkers or not. If you look at the second line again you will see the phrase ‘$ /stophotlink.gif’. Now the great thing about this is that it actually replaces the image your server will show with a custom one! So you may be want to post a rude picture, or maybe a brief injunction to stop nicking your bandwidth. Either way the image will be shown on the site linking to you, rather than the originally intended image.The most important, yet overlooked aspect of marketing is an actual written marketing plan A business simply cannot succeed without marketing. Whether you are a one person business or have 50 employees, you simply must have a marketing plan to succeed.Just as a business plan is a blue print for the overall success of your business, your marketing plan is the blueprint for your marketing success. Marketing without having a clear and user-friendly marketing strategy is like stringing beads without tying a knot at the end of the string. Your strategy should guide your efforts for a minimum of three years; a good plan should really last ten or more years.The marketing plan is a plan within your business plan. In the marketing plan you must quantif Even better, as the original site owner often still has the original image in their cache, they don’t even realise there’s been a switch. So while visitors to his site look upon your free advertising (or otherwise) he is blissfully un-aware that anything is wrong. Until he refreshes the page at least. The first line of that example is essential, by the way. It specifically tells the server to exclude the image ‘stophotlink.gif’ from the hotlink protection. You wouldn’t want a nasty infinite loop, now, would you? This same technique can be used to refer people to a specific HTML page as well. Say in the case of files: RewriteRule \.(avi|mpg|zip|exe)$ /forbidden.html [NC,L] This will redirect any zip, exe, mpg or avi requests directly to a page called ‘forbidden.html’. If you are using custom error pages, this might even be set up as the same page, giving them what appears to be a 403 error. Just remember that with both of those examples the rewriting will only work in the root folders. It may be more sensible to use a direct link such as ‘http://www.mysite.org/forbidden.html’ that will then work for all folders and sub domains. Well, I hope that brief run down of hotlink protection was useful to you. Using this method personally I am saving myself approximately 400MB of bandwidth a month, however I have a fairly small user base. A large website could save possibly hundreds of gigabytes of bandwidth this way, especially if it deals with large files. And if you can cut your bandwidth bill without compromising the services you provide to your readers, what could be better?
HTTP = HTML link (for blogs, profiles,phorums):
Related Articles:Retail Store U-Scan Machines: Self-Serve or Voluntary Part Time Job? Things You Probably Don't Know And Forget About Google Adsense Targeted Ecommerce - How to Earn in E-Commerce
|