-
Building A Surfer Trap – Stage 3
Building A Surfer Trap – Stage 3.
You should hopefully by now have a basic looking surfer trap ready on your server and on your hard drive.
Now we need to start to ‘dirty’ this surfer trap up a little.
We have already added 1 pop-up console to each of the FPA’s including the Multi-Site FPA.
For the next step in this ‘dirtying’ process we need to add some additional links onto each of the FPA’s including the Multi-Site FPA.
On the FPA’s what you need to do is create a ‘no thank you’ link so, if your surfer does not want to visit the site for the FPA you have sent them to you can send them to an alternative.
This no thank you link can go to one of two places, you need to decide where you feel the traffic can be best utilized however, from my experience i would highly recommend using this first method:
Link the ‘no thank you’ text on each of the single site FPA’s to another DIFFERENT niche FPA in your surfer trap so, as an example, if your surfer is on the All Petite FPA in your trap, the ‘no thank you’ link would lead to Just Toon’s. If they decide not to go with the Just Toon’s site, the ‘no thank you’ link on this FPA would go to Gay Ultra and so on, you need to ensure however, that the ‘no thank you’ link goes to a completely different niche to the one of the FPA the surfer is currently on.
The second option you have is to link the ‘no thank you’ text to the ARS POTD (picture of the day) program. This will be your last chance at selling the surfer to one of the ARS pay sites.
In addition to the ‘no thank you’ link on each of the FPA’s you also need to add a small table to the Single-Site FPA’s. ideally this should be four columns across and 2 rows down. This will give you 8 places to put a one or two word link going to another different niche FPA than the one the surfer is currently viewing however, you also need to ensure that these 8 links are going to a different FPA than the ‘no thank you’ link you have created.
The above stage is where we could potentially start to lose people in the instructions therefore if you have ANY questions or queries regardless of how small they may be please post on the forums.
This stage should hopefully only take you a couple of hours to complete and, once you have tested all of the links and uploaded the FPA’s to your server you are all set for the next MAJOR step in this project…. Generating Fresh Traffic.
Article written by Lee
-
Sex Toy Affiliate Programs
For the past year I’ve been playing with sex toys AND I’ve been selling them too!
Over the last couple of articles I have tried to enlighten you on secondary and third level sponsors, to supplement your site income. Another successful addition is sex toys – which are a hit in the gay market. Personally, I sell toys and videos in the secondary spots simply because the payouts are typically lower than most sponsors are – but my motto is money is money!
The basic reaction by most straight webmasters has been, I didn’t realize gay men liked sex toys, too. Well we do.
While there are a number of great toy sponsors out there, not many cater directly to gay men. That’s why I worked a deal on Gay Adult Shopping (http://store.gayadultshopping.com/partners/). I have joined others, but typically, they sell to a straight clientele. When I say market to straight, I’m referring to the packaging of their inventory. This is not a judgment call but a plain fact; I’d rather buy something that has an image of guy on it rather than a woman.
Now mind you, BOTH markets favor many of the products sold. I know if a straight female friend and I went into an adult store, we would look at the same dildo; and, perhaps even buy the same item regardless of the package. But when you’re surfing the net from home, it’s no holds barred. The surfer is no longer locked into the inventory of a shop on the street. He’s going to look for what HE wants. It is all perception. And, knowing that is half the battle.
Ok on to selling! I have taken three approaches in my experimenting – free sites, TGPs and memberships sites. Within a paysite, I typically didn’t SELL the store as much as I told the surfer it is there if he wants it. The real work in selling came with the free sites and galleries.
I’m a text man. I love writing copy and seeing how it works. However with the toys, I used a graphic and embellished it with text. For my free sites, I found direct eye contact shots (Images where the model is “looking out”, presumable at the surfer) were more effective than a pic of a guy playing with toys. Along with the pic, I used text like “My boyfriend and I can not get enough of them…” and “I get off watching him play…” or “The one with the most toys… Gets Off!” Other places on my free sites, I just dropped in the text link. Either worked well. I added both sets of ad links to my basic main pages. The results were good – even though I kept them to a minimum not to out sell my sponsor sites.
My TGP experiment was WORK! After my first try I found out that text alone doesn’t work well. This is definitely an approach that requires imagery. On my first pass, I offered pics and a paragraph that that sold all the things I could think of… dongs, dildos, videos and ejaculating butt plugs -You name I tried to sell it. Out of 2000 hits on that one page, I had 60 clicks into the toy store. Even though I had a sale, it wasn’t going to break the bank. But it SOLD, so I decided to try more. This time I hunted through my content for pics with toys in them and eye contact. I added banners and toned down the text somewhat. Instead of listing an inventory, I stayed in line with the text I mentioned above. I gave an overall feel of what the store had (toys, videos, lube, etc.) Then I ended it with a little tease of what delightful experiences were in store when their package arrived.
This time, it worked! On that first day, out of the 2000 hits it received, 500 clicks went into the store. I have never had that kind of click ratio off of a TGP. I was amazed. Most of the sales were for smaller priced items ($10-$20), but I had two orders that totaled over $200 dollars each. Was this a fluke? I wasn’t sure, so I tried it again. With the next few submissions the click rates were smaller, and I don’t know why. It could be that I used the same ads or something too similar to the first. BUT the click to sales ratio was about the same as my first attempt. Needless to say this has now become part of my weekly regiment.
So what did this prove? Sex toys DO sell well in the gay market even under the hard to convert traffic scenarios. I guess we like our toys just as much as anyone else =)
Selling adult products, whether on a free site, a TGP or a pay site, will bring in a few extra dollars that many webmasters didn’t even know was out there.
Article written by Gary-Alan
-
Bandwidth Explained
Bandwidth is the total amount of data that can be sent in a given time between two computer devices. The more bandwidth that is available, the faster the server.
Any webmaster expecting a decent amount of traffic to their adult site will require a web hosting package that includes a large amount of bandwidth. This is so important, especially with the growth of your online business and, ultimately your sites. The more bandwidth your server has, the larger the number of surfers who will be able to view it at the same time, and the access it quickly will be. If you don’t have enough bandwidth, surfers will not be able to access your site as quickly, and that may turn them off which in turn, will mean they will leave your site.
For this reason alone, it is important to select a hosting company that can offer you a great deal of bandwidth. As an example, larger hosting providers will have T1 lines or fiber-optic relays to access the Internet; these will provide a fair amount bandwidth. Another way is to get a dedicated server which, in turn, gives you exclusive access to your server’s connectivity instead of sharing it with others, as such allowing for maximum hardware performance.
To calculate your bandwidth needs, you must know how large each page on your site is, including the graphics and any script usage you may have. Then, you multiply that by the number of views you expect the site to get every month.
For example, say you have three 5k images on your page and a 2k HTML file – you would have 17k of data on that page. Multiply that by your expected page views (let’s say in this case it is 100,000 per month), and you get 1.7 G of data to be transferred that month for that page alone. Now calculate this for each page, and you will know approximately how much bandwidth your entire site requires.
The best way of using bandwidth efficiently is to keep the size of your html pages low. In other words, ensure your HTML programming is adequate enough to use minimal amounts of coding for the purpose you want and, that your photos and graphics are small. To reduce photo file sizes you should always use JPEG format, which can reduce files up to 5% of its original size. Make sure to use the GIF format for graphics, as opposed to TIFFs or BMPs, which are generally much larger in file size.
If you attach URLs to your IMG SRC that link to another person’s images without their permission, this is known throughout the online industry as hotlinking which, costs the person you are linking the image of money and not yourself. For this reason, hotlinking, is looked upon dimly.
The unfortunate truth is that hotlinking is rife in the online industry. However, lets not let that deter you, by utilizing a file called .htaccess on your server, you can prevent other dishonest webmasters hotlinking your images.
As with most things in this industry, you need to shop around to find the best prices available to you. However, that said, as a general rule of thumb, a gig of transfer can cost between $1 and $5 these are usually thought to be good prices for a gig of bandwidth. You can also get certain hosting packages that have a specific amount of bandwidth included in the price, however, the one draw back of these types of deals is that, if you go over that limit, you will either need to pay and excess bandwidth usage fee or, upgrade your hosting plan.
Article Written By Lee
-
Traffic Brokers – Buying Additional Traffic
For many adult webmasters traffic is the one thing they can get and, good converting traffic it would seem is hard to find in bulk. For those webmasters who simply can not or, will not work towards getting a good converting traffic base you now have several options. These option come in the form of the Adult Traffic Brokers that have seemingly multiplied over the last 12 months.
Traffic Brokering – The Basics.
So what is traffic brokering? In layman’s terms, it is the process used when one company sells / buys their traffic to / from another in order to turn the traffic they are selling / buying into a profit. Often webmasters will purchase traffic from a broker for several reasons, the main one being that they simply could not have generated the same amount of traffic they have purchased by any other means.Traffic Brokering – The Costs.
The costs for purchasing brokered traffic vary greatly from traffic broker to traffic broker however, as a rough guideline, you could spend anywhere between US$1 and US$3 for each thousand (1000) unique hits that the traffic broker sends you. The cost of this traffic however can change for many reasons as do the rules for where you can actually send the purchased traffic to.Brokered Traffic – The Uses.
There are many uses for brokered traffic as those webmasters who do it on a consistent basis will tell you. However, by far the most popular method of using purchased traffic would seem to be sending it to a central ‘hub’ site or a gallery page. From this point on the traffic can start to filter itself even more.In addition to this, some webmasters choose to send their brokered traffic directly to their sponsors pay sites if they have purchased niche specific brokered traffic.
All of the above methods have their pro’s and con’s involved however, for most webmasters, the fact that they have purchased traffic at a relatively low cost will mean they can turn a profit. That said, purchasing traffic from a broker does not guarantee you a profit on your investment.
Traffic Brokering – Overview.
In overview of this article i would say that for webmasters who are unable to gain mass traffic through conventional methods, the traffic brokers offer a service of value and, whether the traffic that you are buying is profitable to you is an outcome that no one can say until the traffic has been used. one thing to consider though when purchasing traffic is that you need to have a clear, concise plan of what your needs for the traffic are, do not just send it blindly into the proverbial unknown but build up a solid plan of what you ultimately want to achieve.Also, before buying traffic ‘en mass’ you should always spend a few dollars in the first instance to run a small test of the traffic, this way, you will be able to send thousands of hits to your sponsors or hubs and judge for yourself which broker will offer you the best traffic for your money.
Article written by Lee.
-
Cascading Billing – Using Multiple Payment Processors For More Profit
‘Cascading Billing’ has been somewhat of a buzz word of late in the online industry however, there seems to be some confusion as to what this billing process actually involves or even does other than ‘process payments’ this is what we will take a look at in this brief article.
Cascading Billing – The Basics.
Simply put, Cascading Billing is a method to enable your surfers to buy membership to your site or, products utilizing multiple third party credit card processors and, other payment options. The process used, as its name suggests, is that of a ‘cascading’ feature meaning that, if you have multiple processors set up on your site and a surfers credit card is declined on your primary processor, the details will then be passed onto a secondary credit card processor where, they will either be accepted or declined and, if declined, the details can then be passed onto yet another credit card processor or, some alternate payment solution.Cascading Billing – The Benefits.
From the initial reaction this new payment process has received in the online community it would appear that this new solution actually does work and, work well. Many companies who are adopting the ‘Cascading Billing’ process are reporting an increase in sales, some reporting upto a 20% increase over the normal procedures they used. This increase in sales also enables affiliate programs to pass the new found benefits onto the webmasters themselves through raised payouts and better sign-up ratios.Cascading Billing – The Options.
As with any type of online payment processor or, payment system, you need to evaluate what your individual needs are and, using a cascading billing program is no different. With many solutions currently available and in development stages the choices for webmasters and program owners are growing and growing.However, that said, first and foremost you need to choose which processors or, billing solutions you will use to begin your cascading billing. In an ideal world, you should choose two of the more reputable third party payment processors as your primary and secondary processor in addition to a tertiary payment option or, perhaps even a custom dialer solution. Generally speaking, this will give you the best way to monetize your own and, your webmasters traffic.
Cascading Payment Solutions – Overview.
When all is said and done, cascading billing offers webmasters and online e-business owners ample opportunity to increase their profits through minimal outlay either by renting the scripting that will allow you to utilize the cascading billing option (costs from $300 a month) or, having such a solution custom coded which, you can have done from as little as US$5000. Either way i am certain we will start to see many more of the top online companies offering this type of payment solution in the near future and, with some of the larger online companies already adopting this method, it is sure to start happening soon.Article written by Lee
-
Penis Enlargement Pills
Well if you’re a guy who had to shower after gym class, or woman with a boring husband or a gay man looking for Mr. Right we all know SIZE Matters!
Do I a have your attention? Good! Now, let’s get on with it!
Like many people, I have always experimented with secondary or even tertiary sponsors for my free sites. In my case most of them do not only pertain to a site membership. I have found success with things like, Viagra online; security programs to remove you net affairs; sex toys and videos; and, today’s’ latest a greatest is penis enlargement remedies.
I’m finding some astonishing success with these herbal penis enlargement products. I’m SELLING it not USING it! LOL. Some of us don’t need it <wink>. But I’m finding lots of my surfers do need it, or at least want it.
A couple of months ago after seeing an influx of email to Gay Wide Webmasters for hints on selling penis enlargement medications, I decided it would only benefit my member and myself to experiment. I used a sponsor on Gay Wide Webmasters, Albion Medical who boasted great returns and high payouts. Well what I was in store for was BETTER than I expected. By the way, here’s a little secret; I do sign up for my own sponsors but under my real name, so unless they really look hard, they do not know it’s me. I don’t go boasting with out proper backup = )
Amid my salesmanship attempts for surfers to “Sign Up!” I sprinkled my secondary ads for Penis Growth among the pics with lines like “Become Mr. Right – turn your dick into a DONG” or “Make your manhood massive… Even straight guys will look!” And to my surprise, it worked wonders. I know there is an attitude in the gay male community to seek perfection physical most of all. And it definitely came clearer to me with the number of sales.
It’s funny how many different ways you can approach selling things that will enhance a person. To me, telling me I need something to make me better pisses me off. Don’t try selling something to me by TELLING ME I’m not right. Or what I have is wrong. I’m definitely a person who marches to the beat of his own drum. And then there are people who NEED to be told they are not everything society expects them to be. That they are doing or have something wrong but it can be fix and you have the solution.
Like the examples above, “Become Mr. Right…” I took the effect that I was letting the surfer make up his own mind. Does he have an issue? It was entirely up to him to decide. Let me tell you, it works well on gay traffic. Let the gay surfer decide yes or no.
NOW, I tried a different approach and gauged the success/failure. I popped in text links like “Aren’t you upset by how small your penis is?” “Remember the guys making fun of you in the showers after gym?” or “Are you sick that you don’t fill up you the front of your briefs?” Well let me tell you the number of Emails I rec’d was “enlarged”! For the most part I was getting mail from men who felt I was exploiting them, even making fun of them. I made them feel inadequate and they lost their hard-on. My site was meant to entertain not disdain them. All I could say was WOW! I didn’t expect that kind of response. I will tell you that I was very happy that I didn’t do it across all of my sites and only a few. So I moved everything back to my “Let him decide” campaigns.
The affect of the sales on the “insulting ads” was evident. According to my traffic program it was apparent that these ads were NOT getting clicks. Instead the surfers clicked on my email link to voice their disgust.
The bottom line of all this? With the proper motivation, the right marketing approach, surfers enjoy the seclusion of buying penis enlargement aids online. It is a great addition to your web site income among other avenues.
Article written by Gary-Alan
-
International Billing Alternatives – Online Check Payments
In my previous article i discussed the value involved with Premium Rate Phone billing as an option for your adult surfers and, staying on the topic of payment processing this article will take a closer look at the Online Check payment method or, ACH as it is commonly referred to.
ACH (Online Check Payments) – What Is It?
An online check payment is a method of allowing your customers to pay for their goods using their check’s online, in order for your customer to pay via a check they need to have available certain items these are, a current checking account, a valid routing number (found on the check) and, an account number. Funds paid via online checks are automatically debited from the customers bank account.Online Check Billing – How It Works.
Online check payments are processed in real-time, surfers are automatically accepted and authenticated via their current billing address, social security or, driving license number, once they have been authenticated their payment details are then sent to the ACH (Automated Clearing House) system where this information is automatically accepted as long as the details provided are verified as correct.Online Check Payments – What Are The Costs?
Utilizing the online check method of billing your customers is actually just as, if not more, cost effective as using online credit or debit cards, in effect, you are guaranteed the funds of the check once they clear as, in all reality, the surfer will not have such an easy time declaring the purchase as a ‘charge back’ because the information needed to pay via an online check is information that in reality, only they have access too.So, as with our previous articles, lets say your paysite membership fee for one month is US$35, a surfer signs up to your site using an online check, you make, approximately, US$33 from this membership for each and every month the customer (or surfer) chooses to renew their membership.
The one main advantage with online checks however is that, surfers will often feel more ‘secure’ in using them to pay for 3 or 6 month memberships and, as long as their check clears your account, you are almost certainly guaranteed the funds.
Online Check Billing – The Main Benefits.
As mentioned above already, the primary benefit of the ACH payment method is that the customer will almost certainly have funds available in their online checking account to be able to meet the cost of the paysite membership, after all, they wouldn’t give out their banking details if they were not sure the payment would go through. In addition to this advantage there are also several other advantages to using Online Checks as a payment method for example:Increased Sales.
Reduced Order + Billing Costs.
Faster Payment.
Reduced Credit Card Charge Backs.ACH Check Payments – Overview.
Whilst ACH check payments are a good alternative for US surfers the one major drawback is that, in today’s global market place they are not a method of payment for international surfers unfortunately, at this time, there are no companies who can offer this service to my knowledge to the ever growing global population.That said, there is a place in the industry for check processing for adult payments and, with Visa breathing down our collective necks more and more, now would be an ideal time to take an in-depth look at this processing method.
I hope this article has provided you with some useful information regarding the online check payment method.
Article written by Lee
-
Censored Gay Adult Pornography
You’ve heard it said over and over “Make them pay for the pink” or in the case of the gay market “make ’em pay for the MEAT”. But how far can you get without hardcore on a gay site?
Depending on the method you use to get your traffic softcore verses hardcore can make a big difference. If you’re working the SE’s, you set the tone by way of your descriptions and keywords – and you hope that they get you the rankings and the surfers. On the other side of the fence, when you use link lists and categorized directories, their categories will dictate where your site will go. Thus, you are totally out of the loop when it comes to its placement.
For the past six months I have been conducting a test. I built ten free sites, all to derive their traffic from link lists. Five were strictly softcore and the others a mix of softcore images and “selective” hardcore images. Each had 40 pics in order to play to the larger LLs and directories.
Let me give you a little background. The reason I started this test was to track the traffic trends in the gay market as it applied to the notion of “make ’em pay for the meat”. It was something I had done with my straight sites, but something I totally avoided with my gay sites. The reason for that one a statement I made a while back “If I wanted to see softcore I could look in the mirror when I got out of the shower.” While this is a totally narcissistic comment, it does demonstrate my ongoing point about selling to gay men.
Now don’t get me wrong in the scheme of thing I do like softcore images of the right person, but as a surfer who is looking to get off, I want what I can’t normally have. And that idea is going to send me to a site that will has what I want, OR in the case of this test, THINK that I want.
Now back to the test sites. For my softcore sites, I took various images of single men in different phases of undress from stripping to provocative poses. For the hardcore I was much more selective. I used what I call US Cable or Int’l Tele guidelines. What that means is, what do I see if I turn on a cable station or one of the satellite channels from around the world. I found “simulated sex”. Just like an R rated movie, there were scene where two guys are together with no close ups of actual penetration. So, when I went through my web images I looked for similar scenes. The images were sexual but nothing so blatant as up close penetration but suggestive enough to arouse a surfer – the taunt factor I would need to sell my sponsor sites.
With my distinct sets of sites, I began to submit to the Link Lists. 99% of the sites were accepted for each of there categories (the one that didn’t get accepted had a hardcore description and softcore images – oops). But after making the correction it was accepted.
The traffic started to come in. In the first day, the difference I anticipated was right there. I decided I wouldn’t effect anymore change in traffic so I didn’t submit to any other link lists. I wanted to test this out. At the end of the month the trends I expected were in fact there. The total of all the traffic generated 10% came in to Softcore sites. The remaining 90% came in through the hardcore sites. So this tells me that most gay surfers are hitting the hardcore categories on the LLs. It confirmed my previous assumptions.
What’s the sense of doing all of this and not watch all avenues, right? Now having scrutinized where the traffic was coming from and how, I wanted to trace how it was going out.
I used an older cgi program to track the hits out. It’s one of those standard programs that I learned to use years ago and can’t get rid of. Now remember, all of the sites are pretty much the same with wording, sponsors, color schemes, etc. The only real difference was the pics.
Based on the numbers collected from the program I found that approximately 75% of all the traffic coming into the softcore sites left on a link to one of the link lists. I had 20% go out on a sponsor’s link and the remaining 5% did not resolve (which in this program I was using tried to count the click but was unsuccessful).
Now reviewing the information from the hardcore sites, I found a distinct difference. I will not lie to you. I expected a difference. I don’t want you to think I was awestruck LOL. But, I was surprised with what I found. This time the majority went out to my sponsors – 50% went to a sponsor site, 20% went out to the reciprocal links, 19.9% went to a free gay email site (which wasn’t enough to mention on the softcore sites), 5% did not resolved. The remaining 5.1% I have no idea – they probably whacked off and logged off (I hope it was good for them LOL)
While it is not the point of this article, I will add that the traffic produced reasonable well at the sponsor end.
Let me say that my “trends in gay adult traffic” research is by no means complete. However, over the period of six month these ten sites were enough to say there is marked difference between softcore and hardcore sites. So does “make ’em pay” work in the gay market? For now, there is a definite factor depending on where you get your traffic. If links lists are your specialty, then the answer is yes.
My next step in the evolution of this is to submit these sites into the search engines. With all things considered, I’m looking forward in tracking that information. I’m off to submit. I will share the data I collect from that test soon.
Now, I just hope DMOZ doesn’t give me a hardcore time ; )
Article written by Gary-Alan.
-
Using Mainstream Sponsors On Adult Sites
With the adult industry moving more and more into the mainstream web every week that passes as late i thought it would be an idea to show you guys how it is possible to use mainstream sponsor programs on your adult sites to build up a steady commission check even when a surfer going to your adult site doesnt actually buy anything from your adult sponsor.
Mainstream Sponsor Programs – The Choices.
The first thing that you need to do is to choose a mainstream sponsor that offers you a good choice of products / services to market to your surfers mainstream affiliate programs such as Click Bank, Commission Junction and, Amazon.com are all good places to find a selection of mainstream products and services you can offer your surfers in addition to the adult sponsors you currently use.Mainstream Affiliate Programs – Setting Up.
The first thing that you need to do however in order to offer the mainstream affiliate program products to your surfers is to register a generic, non-adult domain name and, instantly get this domain setup on your current web server.This will be the domain name you use for all correspondence between the mainstream affiliate networks and yourself in addition, this will also be the ONLY domain that you utilize the mainstream linking codes on.
Using Mainstream Sponsors – Getting Started.
The first thing that you need to do now you have your domain and mainstream affiliate networks sorted out is to build a couple of specific ‘doorway pages’ on your new generic domain name. This could include something like an article or product review or perhaps something as simple as an image of the product and a short description which you can use to lead the surfer into the mainstream affiliate programs site, either way, the idea is to have the root of the domain 100% free of adult content and utilize specific doorway pages which you can link to from your adult sites.Generating Mainstream Traffic.
Onto the really easy part, your current free sites all have an enter and exit link correct? If so then you are already half way finished, all you now need to do is to ensure that EVERY SINGLE exit link goes to your mainstream doorway page for a specific product or group of products. Make sure that you do not link to the root of your generic domain at any time but only to specific doorways and, that each of these doorways has a link to the root domain.By linking to your generic site in this way, you are enabling the surfer to choose whether they first of all, want to look at your adult site or, they want to leave the site and go to your mainstream affiliate network sponsor in the process giving you the potential of making a sale at the mainstream affiliate program.
Mainstream Sponsor Programs – An Overview.
By utilizing mainstream affiliate programs in this way you are not only potentially increasing your bottom lines but, you are also utilizing every single click that you get both to and from your site, to often webmasters send their exit links to places like disney.com or google.com and in doing so, they lose out on potential incomes, hopefully when you start marketing your exit links in the manner explained above you will begin to see the benefit of how both adult and, mainstream sponsors can be used in conjunction with each other in order to increase your bottom line profits.Article written by Lee
-
Using .htaccess Effectively
The .htaccess file is an ASCII text document that can be placed in any directory on your site. It can be used to control access to files and directories, and customize some server operation in your site. A .htaccess file can be created in any word processor but must be saved as text only. You must use FTP software in ASCII mode to upload or edit your .htaccess file. For the examples provided here, place the .htaccess file in your root directory.
There are a variety of functions that you can control using .htaccess some of the more useful of these are explained below:
Custom Error Messages.
Add the following to the .htaccess file::
ErrorDocument 404 /notfound.html
After “ErrorDocument” specify the error code, followed by a space, and then the path and filename of the .html file you would like to be displayed when the specified error is generated, each specific error code is detailed below with the recommended codes to be used in the .htaccess file in bold :
200 OK
206 Partial content
301 Document moved permanently
302 Document found elsewhere
304 Not modified since last retrieval
400 Bad request
403 Access forbidden
404 Document not found
408 Request timeout
500 Internal server error
501 Request type not supportedUsing the codes above your error section of the .htaccess file should look like this:
ErrorDocument 301 /notfound.html
ErrorDocument 400 /notfound.html
ErrorDocument 403 /notfound.html
ErrorDocument 404 /notfound.html
ErrorDocument 500 /notfound.html
ErrorDocument 501 /notfound.htmlRedirect to a Different Folder.
Add the following to the .htaccess file:
RewriteEngine on
RewriteRule ^/oldfolder(.*)$ /newfolder/$1 [R]This redirects the user from /oldfolder/anyfile.html to /newfolder/anyfile.html, when the .htaccess file is uploaded to the otherwise empty “/oldfolder” directory.
Denying User Access.
Add the following to the .htaccess file:
<Limit GET>
order allow,deny
deny from 000.00.00.
deny from 000.000.000.000
allow from all
</Limit>This is an example of a .htaccess file that will block access to your site to anyone who is coming from any IP address beginning with 000.00.00 and from the specific IP address 000.000.000.000 . By specifying only part of an IP address, and ending the partial IP address with a period, all sub-addresses coming from the specified IP address block will be blocked. You must use the IP addresses to block access, use of domain names is not supported
Redirect a Machine Name.
Add the following to the .htaccess file:
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
# Rewrite Rule for machine.domain-name.net
RewriteCond %{HTTP_HOST} machine.domain-name.net $
RewriteCond %{REQUEST_URI} !machine/
RewriteRule ^(.*)$ machine/$1This will redirect requests for the machine name machine.domain-name.net to the directory machine on the site domain-name.net.
Different Default Home Page.
Add the following to the .htaccess file:
DirectoryIndex filename.html
Then a request for http://domain-name.net/ would return http://domain-name.net/filename.html if it exists, or would list the directory if it did not exist.
To automatically run a cgi script, add the following to the .htaccess file:
DirectoryIndex /cgi-local/index.pl
This would cause the CGI script /cgi-bin/index.pl to be executed.
If you place your .htaccess file containing the DirectoryIndex specification in the root directory of your site, it will apply for all sub-directories at your site.
Preventing Hot Linking.
Add the following to the .htaccess file:
# Rewrite Rule for images
RewriteCond %{HTTP_REFERER} <URL of page accessing your domain>
RewriteRule ^(.*)$ http://<same as above URL>You would replace the <URL of page accessing your domain> above with the domain name and path of the page that is referring to your domain. For example: www.theirdomain.com/users/mypage/
The RewriteCond directive states that if the {HTTP_REFERER} matches the URL that follows, then use the RewriteRule directive. The RewriteRule directive will redirect any reference back to the referring web page.
Using the above you should, safely be able to publish your sites on the internet knowing that you will not be privy to bandwidth thieves via hotlinking and also, that you will not lose any traffic through pages that are ‘not found’.
Article Written By Lee
Premium Sponsors
Categories
- 2257
- Billing Solutions
- Blogging
- Branding
- Content
- Domain Names
- Employment
- Forms & Contracts
- General
- Hosting
- Link Lists
- Opt-in Mail
- Paid Traffic
- Pic Posts
- Promotion
- Scripts
- Search Engine Optimization
- Sponsors
- TGP
- Traffic
- Tutorials
- Viral Marketing
- WebDesign
- Writing