• Gay Online Dating – Offering Your Surfers An Alternative

    Date: 2011.02.22 | Category: General | Response: 0

    Whilst adult websites remain the most highly concentrated method of making money for affiliate programs we have slowly started to see a trend over the past few months of affiliate programs adding a new kind of site to their regular lineup, online dating sites however, as webmasters working in the adult industry how can we successfully market these sites on our existing traffic base? This is what we are going to look at in this article.

    Gay Online Dating – Some Facts And Figures.

    As mentioned above many affiliate programs now offer some form of online dating site whether it is for gay men and women or for their straight counterparts there is very little mentioned about the target audience these types of site attract so, with that said lets look at some figures from a recent Nielsen report in respect of online dating sites.

    The online dating market is expected to grow to become an estimated $642 Million dollar industry by 2008.

    On average, a user on a dating site will spend 1hour 45 minutes on the dating network itself.

    The highest ranked age group (27.64%) for online dating sites is between the ages of 35 and 44 years old.

    Men are more likely to a) Browse online dating profiles, b) Post a profile on a dating site, c) Respond to a dating profile and, d) Pay for access to a dating site than women.

    So what does this mean for us marketing our sites to gay men and women well, straight off the bat you can see that there is going to be a considerable boom in the online dating world and, with that boom will come a rather satisfying chunk of change also, the age group that spends most time on a dating site as mentioned above is also within the demographical group for the ages of gay online surfers. In addition, males as mentioned, are also more likely to respond to, post, browse or, more importantly here, pay for access to an online dating site making this an ideal opportunity for those of us who actively promote a gay site lineup to start supplementing our income by offering our surfers access to dating sites too.

    Gay Adult Dating – Affiliate Programs.

    So now we have the figures where do we go to find a gay adult dating affiliate program? Well, there are a couple of options for us, there is the highly recognized outpersonals.com as well as the gay.com dating area however, surprisingly enough, the more ‘mainstream’ dating sites such as date.com, match.com and even adultfriendfinder.com all have sections within their sites for gay men and women as well as gay specific tour pages and promotional materials.

    Gay Online Dating – Where To Market Our Sponsor.

    As with any type of new affiliate program the best way to start marketing them is to place a link on a less prominent page of your site so as to not send your high converting traffic off to a sponsor that may not work for you however, if you have a good network of sites then you might like to try adding your newly found dating affiliate program on your sites ‘exit’ links or even create a TGP gallery specifically for your dating sponsor utilizing softcore content. Also, one thing that I have personally found is that using text links always garners more clicks thru to the dating site than a regular button or banner so again, this may be something you would like to try. In essence though, first test your gay dating sponsor on a minimal traffic source to see what effect it has on your overall site then, once you have ran a test period you can adjust your marketing efforts appropriately.

    Gay Adult Dating – Recap.

    As we have seen above the marketplace for online dating is going to grow to a multimillion dollar industry and, whilst we already know that gay surfers are more affluent and willing to spend money if we can match our sponsors to the type of site they are looking for, why not also offer them an alternative to porn? Many webmasters often overlook the basic principles of marketing that is to say, don’t just give a potential buyer one option but rather, give them several options, by utilizing dating affiliate programs on our sites we are not only giving the surfer an option but, are also giving us a potential opportunity to make more money.

    Article written by Le

  • JavaScript – Redirecting Foreign Surfers

    Date: 2011.02.24 | Category: Scripts, WebDesign | Response: 0

    At some point or another we are no doubt going to have the need to redirect some or all of our surfers based on the language they speak, this snippet of JavaScript when placed on your page will enable you to do just that without the need for .php or other more complex scripting.

    Here is the coding that you need to place between your <head> and </head> tags:

    <SCRIPT LANGUAGE=”JavaScript1.2″>
    <!– Begin
    if (navigator.appName == ‘Netscape’)
    var language = navigator.language;
    else
    var language = navigator.browserLanguage;

    if (language.indexOf(‘en’) > -1) document.location.href = ‘english.shtml';
    else if (language.indexOf(‘nl’) > -1) document.location.href = ‘dutch.shtml';
    else if (language.indexOf(‘fr’) > -1) document.location.href = ‘french.shtml';
    else if (language.indexOf(‘de’) > -1) document.location.href = ‘german.shtml';
    else if (language.indexOf(‘ja’) > -1) document.location.href = ‘japanese.shtml';
    else if (language.indexOf(‘it’) > -1) document.location.href = ‘italian.shtml';
    else if (language.indexOf(‘pt’) > -1) document.location.href = ‘portuguese.shtml';
    else if (language.indexOf(‘es’) > -1) document.location.href = ‘Spanish.shtml';
    else if (language.indexOf(‘sv’) > -1) document.location.href = ‘swedish.shtml';
    else if (language.indexOf(‘zh’) > -1) document.location.href = ‘chinese.shtml';
    else
    document.location.href = ‘english.shtml';
    // End –>
    </script>

    To add additional language redirects to this JavaScript all you need to do is duplicate the:

    else if (language.indexOf(‘zh’) > -1) document.location.href = ‘chinese.shtml';

    Section of the coding changing the (‘zh’) language code to that of the language you wish to redirect.

    Article written by Lee

  • The Ins and Outs of European Domain Name Registration

    Date: 2011.02.22 | Category: Domain Names | Response: 0

    A domain name is more than just your online adult business address; it’s a crucial aspect of your online adult business. It is closely linked to the way a surfer thinks of and, more importantly, remembers your site. In many European countries, domain names that end with a country code carry more weight with the Internet-surfing public than dot.com domain names. So, if you want to have of a chance of selling to a foreign adult surfer in a European country you might consider registering a European country code top-level domain name (ccTLD) for your site.

    Obtaining a ccTLD could potentially:

    • Increase your chance of getting listed on a national search engine. Many national search engines require a company to be local, however that may be defined, to be listed with them.
    • Get you a higher ranking with a local search engine.
    • Make your business more accessible to customers and vendors in a specific country.
    • Make your business seem more local and thus help overcome any fear local customers might have of buying from a non-European outfit.

    What Is a ccTLD, Anyway?

    Generic top-level domains (TLDs) are not linked to any geographic area. They include the well-known and familiar .com, .org, and .net domain names. In contrast to these generic TLDs, there are ccTLDs: Each country and territory in the world has its own TLD. They include, for example, .at for Austria, .be for Belgium, and so on.

    Essentially the domain name policies regulate who can register what type of a domain. In principle, nearly anyone can register a generic TLD.

    It is important to keep in mind that you might lose a domain name you recently registered in Europe if another company can prove in court that the name is rightfully theirs. If the court decides that the plaintiff has a right to it, you will lose that domain name however, I am assuming that nobody reading this is going to be considering registering ccTLD’s for the purpose of cyber squatting.

    Each country or region has its own rules, policies, and regulations about who can register a ccTLD, and how. Common restrictions include the requirement to be a local registered company or to have registered the company and/or company name as a national trademark in a specific country. However, some countries are less strict about who can register. As always, it depends on the country and its particular rules.

    The table below is meant to give you easy access to the information you will need when you are ready to register a European domain name for your site.

    Here is an explanation of the categories used in the domain registration table:

    • Country: Name of the country you might want to obtain a domain name for your business in.
    • Name of domain: The ccTLD (a two-letter abbreviation).
    • Must be local: This can mean that your business presence, your company’s physical presence, or your trademarks must be local.
    • More domains possible: Some countries limit the number of domains that you can register.
    • Same name as owner: Some countries require that the registered name be the same name as the owner’s company name or trademark.
    • Signed contract: Some domain name registration agencies demand a written, signed declaration or contract to be sent in. If in doubt, read up on specific rules relative to the specific domain name registrars you will be using.
    Country Name of Domain Must be local More domains possible Same name as owner Signed contract
    Austria .at No Yes No No
    Belgium .be Yes Yes No Yes
    Denmark .dk No Yes No No
    Finland .fi Yes No Yes No
    France .fr Yes Yes No No
    Germany .de Yes Yes Yes No
    Greece .gr Yes No No No
    Iceland .is Yes No Yes Yes
    Ireland .ie No Yes No No
    Italy .it No Yes No Yes
    Luxembourg .lu No Yes No No
    Netherlands .nl Yes Yes No Yes
    Norway .no Yes No Yes Yes
    Portugal .pt Yes Yes No No
    Spain .es Yes No No No
    Sweden .se Yes No Yes Yes
    United Kingdom .uk No Yes No No

    Now you can see the possibilities available in respect of registering more than just dot.com addresses perhaps you might like to find a country you would want to gain some extra traffic from and see about registering a ccTLD and developing it.

    Also, you could improve your chances of gaining additional traffic to your new ccTLD domain by having some country specific language on that domain, again, how your site comes across to the surfer is just as important than the domain and, there are plenty of Adult Site Translation companies out there who can assist you with this part of the ccTLD development.

    There are, of course, other ways to gain additional foreign surfers other than just registering a ccTLD for example, on European Webmasters we have a domain name registration section that will allow you to translate specific text in order to gain type in foreign traffic on dot.com TLDs perhaps, if you don’t want to or, cant register a ccTLD in the country of your choice you might like to take this approach at gaining additional foreign traffic to your sites.

    I hope this article has given you a little insight into the varieties of domain names available in and around Europe and that you might just register a domain and see for yourself how profitable the European markets are.

    Article written by Lee

  • Outsourcing – Becoming More Profitable Online

    Date: 2011.02.24 | Category: Employment | Response: 0

    As webmasters we already do a lot of outsourcing from hosting our sites to design and marketing to getting traffic which we send to our sponsors. However, many of us are missing out on opportunities to outsource even more of our work and, by missing these opportunities, we are losing money.

    Outsourcing work can consist of anything from translations, design, scripting, marketing, seo, site submissions and pretty much anything and everything in between.

    However, before we outsource some work to others there are several factors that need to be taken into consideration these are what will be addressed in this article.

    Cost.

    Ensuring we work ‘cost-effectively’ is one thing we all want to do, we need to make a profit whilst still being able to develop our business further. One good way to find out if the costs of outsourcing outweighs the cost of keeping the work in house to make a simple list of both the time and financial involvements both in and out of house. For example, in house you may have employees that need paying to do the work, you will almost certainly need to spend a lot of your own time on the project and, more likely than not you will need to research the work you want to undertake, all of this can become costly when looked at in detail a good reason to outsource your work to another company or individual.

    Benefits.

    How will outsourcing benefit you and your business? As with the cost example above make a list of things that will benefit you from the time saved on the project to the monetary benefits of outsourcing the work and the completion times often, by outsourcing your work you can have it done in much less time than if you handled it yourself ‘in-house’ so to speak.

    Flexibility.

    What are the indirect benefits of you outsourcing your work? Not necessarily the money saved but more along the lines of time management. if you give a designer a list of ideas and suggestions you WANT your work to have, chances are, they will get it right the first time whereas, if you amble along experimenting with what you actually create you may, in effect, take much longer to complete the task in hand. By saving yourself time what else can you get done, whether it is building more sites or marketing your existing sites further the indirect benefits all weigh up more often than not, these benefits will be favorable to outsourcing the work.

    Risk.

    This is probably THE most important thing to take into account when considering outsourcing your work, what happens if, you pay for the outsourcing and, overnight the company who is doing the work for you goes out of business? What happens if someone you have in your employ decides that they would rather be doing the work rather than you outsourcing it? Financially can you afford to outsource the work? All of these factors need to be considered before undertaking any form of outsourcing.

    Basically, what I am trying to tell you is that, if you spend a few moments actually running the numbers as oppose to the ideas you have in respect of your workload you will see that outsourcing can be come a valuable asset to your business and, more importantly, your bottom line profits.

    Article written by Lee

  • How To Choose A Legal Content Provider

    Date: 2011.02.22 | Category: Content | Response: 0

    How To Choose A Legal Content Provider.

    If you spend anytime in this business no matter in what capacity, you are going to hear about how important using legal content is. Legal content is content that you have specific permission or license to use on your sites. Permission can come from your sponsor who offers you free content to promote their site, as long as certain criteria is followed. It can come from the producer of the images if he/she is a friend of yours, though I would still advise you obtain a license from them anyway. And the third way of course is to purchase content from one of the myriad of content providers out there. It is the third way I am going to discuss in this article.

    Being the intelligent Webmaster you are, you have decided to purchase some legal, fresh content for your sites. Makes no difference what type of site(s) you run, free sites, TGP’s, pay sites etc. fresh, unique content is always a plus. So you begin your search for the content you are in need of. You are going to find that in most all cases you are going to find a LOT of content providers that offer what you are after. You can go to any resource board and get a list of providers that covers page after page, some more detailed in information than others. Some names you will have heard of before and some you will have never heard of, so how do you choose? Here are some of the basic questions you should ask yourself:

    Do they carry the type of content I need. Seems simple enough, but if you are looking for Asian lesbian images, no sense wasting your time on a provider that specializes in Gay content. The provider’s site should be laid out that you can easily assess what they offer with the first 2 pages of their site.

    What am I using the content for? This becomes very important when selecting what image packages you buy. If you are going to use the content for free sites or TGP’s where the main goal is to get them off your site and on to your sponsor, then quality is not going to be as important as price. If you plan to utilize them in a pay situation, such as AVS or members site, quality should be your first consideration.

    What price am I willing to pay? By knowing what you are using the images for, you have a fair idea of what they are worth to you. Do not be fooled into thinking that buying a MEGA disc for .10 an image is a killer deal. It could be, but if the image CD only contains 100 images that you can utilize and the rest are trash, what is the point? Much better to pay a higher price per image to get exactly the kind and quality you want. Shop around of course; per image prices can vary greatly per provider.

    How do I know these guys are legit? Excellent question! J More than ever these days you cannot swing a cat and not hit 100 content providers. Every college guy and his brother with a digital camera and a girlfriend think they can make a quick buck in the Adult market. I could very easily list over a dozen so called content providers right now, that have come on with incredible deals only to be gone in less than 3 months. Then the Webmaster finds out the license he has for the images are not worth the paper they printed them on. This is one of the easiest areas for a Webmaster to get ripped off in. So what to do? Research my friends, research!

    a. Ask the provider for copies of the 2257’s they are required by law to have on premises. Any reputable provider will supply these to you; many include them with the license even if you don’t ask for them. Any provider that bulks at doing so upon request should be taken off your shopping list.

    b. Read over the license agreement very carefully, before you buy. Not every license is the same, some allow you a certain percent of images for promotional use, such as creating banners etc. some prohibit it. How many sites and domains you can use the images on vary, as does the price they charge to add or transfer a domain or license. Remember the license is a legal document and should be treated as such.

    c. Ask around! Reputation is so very important in this business and the good providers know it. Don’t be shy about asking the provider directly for references, emailing fellow Webmaster’s and even posting for comments on the boards. Make sure you get a good cross span of answers from all sources, so you can quickly weed out anyone that is deliberately trying to make a provider look bad. This could be their competition or a Webmaster that tried to use the content illegally and got busted. So make sure you ask people your respect and trust. Find out not only about how they’re prices stack up, but also about their customer service after the deal is done. And NEVER assume just because a provider is listed on your favorite resource board that they are legit. Though most resources will try and screen people they list, there is no guarantee. There is no substitute for researching it for yourself.

    Following these simple guidelines will save you a lot of grief in the long run. It may take a day or two for you to get the feedback you need, but it could save you from taking down hundreds of galleries later on. Or worse, paying for a product you never receive. And trust me, that happens.

    Article written by Bestat.

    http://www.exclusivecontent.com.

  • Using JavaScript To Auto Scroll Text

    Date: 2011.02.24 | Category: Scripts | Response: 0

    Using JavaScript To Auto Scroll Text.

    There may come a time when you would like to have some text on a page that is simply just to big to fit on a single page. Of course, you could always create a new document for this text but, what if you could make the text actually scroll through the surfers browser?

    The following JavaScript will do just that.

    Place the following section of JavaScript coding between your <head> and </head> tags:

    <SCRIPT LANGUAGE=”JavaScript”>
    <!–

    function scrollit() {
    for (I=1; I<=1200; I++) window.scroll(1,I);
    }

    // –>
    </SCRIPT>

    Along with the following JavaScript coding someone in the Body of your page:

    <FORM>
    <INPUT type=button value=”scroll” onClick=”scrollit()”>
    </FORM>

    Have a play around with the numbers in the first section of the JavaScript to speed up and slow down the rate of scrolling until you find a speed that is easy on the eye.

    Article written by Lee

  • Direct Debit Payment Explained

    Date: 2011.02.22 | Category: Billing Solutions | Response: 0

    Something that is very rarely spoken about as a means of payment is Direct Debit, this is a popular payment method across Europe and, especially in the United Kingdom. Direct Debit can offer your surfers a cost effective, easy way to pay for products and services from your site especially, if they have a ‘recurring’ cost associated with them.

    Direct Debit – What Is It?

    Direct Debit is quite possibly one of the simplest ways to collect funds from your surfers basically, a form is filled out by the surfer, where they enter their bank payment details, account number, name, sort code. Then, the form is signed either electronically or, in person by the customer, in this case, electronically by the surfer.

    Once you have the direct form filled in by your surfer, you may continue to deduct funds from the bank account on the Direct Debit form until such a time whereas the surfer cancels the Direct Debit agreement.

    At the present time, around 45% of the population in the UK currently choose to pay their utility bills online by Direct Debit and, around 75% of the total population in the UK have used Direct Debit at least once in addition Direct Debit is also an alternative method of payment in the vast majority of European countries and, it is also used (although not as much) in Australia.

    Direct Debit – What Are The Cost?

    Direct Debit payments cost around $0.5 for you as a merchant to process, however, this charge, rather than happening on the processors side of the transaction, happens when the Direct Debit request hits your banking account.

    This in itself is god news after all, you now ensure that if a membership or product costs $35 per month, you will get virtually the full cost of that membership until such a time when the surfer cancels the direct debit at their bank.

    Direct Debit – An Overview.

    All in all, Direct Debit is probably one of the only payment solutions that allow you to collect the full price from your surfer at the point of sale and, furthermore, because the Direct Debit method of payment is trusted, this offers your surfers something that no other form of payment can – Peace of mind. There is however one major drawback to this method of payment, it is very hard to find processors that will allow you to utilize Direct Debit on your sites in fact, to date, the main use for the Direct Debit payment method has been payments of utility bills, Gas, Electricity, Water Supply, etc however, many financial institutes will let you pay for goods and services using Direct Debit on ‘credit’ terms which can vary from 1 day to a year interest free or, not as the case so often is.

    I strongly feel that within the next 12 months this method of payment could become advantageous to the adult webmaster however, the current online payment processors need to be pushed in order for this to become as widespread as credit and debit card processing is. That said, there are a few online adult companies already accepting Direct Debit as a form of payment so, at least the ‘DD’ revolution has already started.

    Article written by Lee

  • Typography Know How

    Date: 2011.02.24 | Category: Writing | Response: 0

    Our web sites are nothing without content, and most content is comprised of simple text. Many web designers neglect to pay attention to their typography, and it shows. Proper typography varies based on where the text is and what purpose it serves. Although there are no rules etched in stone, there are a few general techniques that should be followed. Although some of these tips may seem elementary, many of them are not followed.

    Headings.

    Clearly, headings should be larger, by 1 or 2 font sizes, than your body text. You may consider bold, but be cognizant of the letter width. Arial Black, for example, may create letters too fat for your taste. When using colors, be sure the colors contrast well with the background color of your site. Black and dark gray do not contrast well, while black and white (or light gray) work quite well. Sometimes, even a simple color change can create useful headings.

    Also be sure to cascade your headings. A main heading, for example, would be larger than subheadings. This effect creates a sense of emphasis and flow to the information.

    Do not italicize your headings. Italics are meant to underscore particular content, but since the text is a heading and of larger size anyway, italics are redundant and often make the text difficult to read.

    Fonts.

    The default is Times New Roman, which works fine, but many think it is boring. I have experimented with Arial, Georgia and Verdana, and have found Verdana the most readable font face available. This is a personal preference, but fonts should be restricted to the above four to ensure compatibility between all users of your web site. If your user’s browser does not support your font choice, their browser will revert to its default. Since browsers have increased support for CSS, or Cascading Style Sheets, whenever possible, use CSS to define your fonts, rather than HTML’s <font> tag. Also, be sure to keep your font sizes large enough for visitors of all ages and eyesight’s.

    Stress Styles.

    Avoid using all capital letters within your text, as it makes it difficult to read and implies you are shouting at the reader.

    To stress words within your body text, decide on a format and stick with it. Some choose bold, while others choose italics or underline. My personal favorite is italics, but any of these can work well. Be careful when using underline, however, as it can be mistaken for a link. In addition, do not overuse these stress styles.

    Entire body text should not be bold. Bold, like italics, is used to emphasis words, and usually an entire body of copy should speak for itself in regularly styled text. I like to use CSS to space my body text out a little to increase readability.

    Article written by Lee

  • Source Code – Eliminating HTML Margins

    Date: 2011.02.24 | Category: WebDesign | Response: 0

    Since the inception of the very first HTML document, margins existed that surrounded the document, like in the case with this document.

    The margins are there to act as a cushion between the edges of the browser and the contents of the page, so it’s easier to read the content.

    As good as margins are, wouldn’t it be nice to be able to eliminate them in some cases, where the design of the page calls for their termination? While most webmasters think it is not possible to “flush out” the default margins of a HTML document, it actually is, although only possible in IE 3+, and NS 4+. In this tutorial, I’ll show you how.

    Eliminating The Document Margin In IE 3+

    To get rid of the document margin in IE 3 and above, so content presses right against the edges of the browser, use the IE exclusive “leftmargin” and “topmargin” attributes:

    <body leftmargin=”0″ topmargin=”0″>

    It’s as simple as that!

    Eliminating The Document Margin In NS 4+

    To get rid of the document margin in NS 4 and above, use the NS 4 exclusive “marginwidth” and “marginheight” attributes instead:

    <body marginwidth=”0″ marginheight=”0″>

    Putting It All Together.

    By putting the two techniques together, we can create a document that flushes out its’ margins in both IE 3+ and NS 4+:

    <body leftmargin=”0″ topmargin=”0″ marginwidth=”0″ marginheight=”0″>

    Try out the above coding on your page, and you’ll see what I mean.

    Article written by Lee

  • Using .htaccess Effectively

    Date: 2011.02.24 | Category: WebDesign | Response: 0

    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 supported

    Using 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.html

    Redirect 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/$1

    This 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

Site Links