• Pay Per Click Traffic – More Than One Use

    Date: 2011.02.24 | Category: Paid Traffic | Response: 0

    We all know the stigma surrounding getting traffic to our sites and, this is no different with that of the PPC traffic sources. We have all heard varying stories of success and failure when it comes to this type of traffic whether it be from Googles Adwords program, Overture PPC engine listings or in fact, highly targeted Sex.com adult traffic.

    But how much do we all actually know about maintaining this level of traffic once we actually get it and at a minimal cost to our bank balance?

    First of all there seems to be a belief that PPC traffic should be sent to a sponsor or one of our existing sites, this is all good and proper but, what happens when the sites we own or the sponsors we use don’t convert on this traffic do we just give up? For the most part, yes webmasters do tend to give up and mark this source of unrivalled traffic as a flop.

    Enter the world of traffic manipulation.

    We all know about a variety of programs that are available to drive traffic to our existing sites from banner exchanges like Pornclient to text link exchanges like TextPop even to top lists.

    So why don’t we utilize these when we buy PPC traffic? Quite simply many webmasters forget that traffic can be manipulated regardless of where it comes from initially.

    Lets take a simple listing on sex.com, you fund your account and traffic starts to flow, you get 1000 hits per day for as long as you have funds in your account. Were you aware that this 1000 hits could in fact, become 10,000 hits if we actually thought about our pay per click listings.

    How you may be asking especially with so many rules being levied upon us by the PPC traffic sources? Simple, set up a filter page, on this page you should place a single text link which would be your entry link however, you should also place a few other items on the page this is what i will explain next.

    Ideally you want to be able to use the traffic you are paying for in order to build up a larger traffic base this is where the use of such programs as banner exchanges and the likes come in handy.

    As well as your entry link you should also place a banner exchange (or a text exchange) code on your filter page this will mean that for every visit your page gets from the PPC Engine you are accruing credits towards additional visitors.

    In addition to the link exchange you might also like to consider placing a counter on this page specifically, a toplist counter such as Outster or sextracker so, for every page view you receive you get rated further on their toplist.

    Also, as we are on the subject of top lists why not place a text link to one on this page? Even though you are sending your traffic out you are actually getting sometimes in excess of twice that back depending on the toplist you choose to use.

    Now we have the basics set up we need to look at what else we can do to maximize this traffic, i would suggest having a single console (preferably a blur console) load on this page if the PPC SE allows again, this should contain a link exchange of some description however, you will need to make sure that the account you are using is separate to the one on your filter page.

    Finally, remember the entry link, that shouldn’t go directly to your sponsor instead, send it to an FPA (Full Page Ad) first and, on this FPA place a table ad which is pure text at the bottom again, sending this traffic to a variety of other niche filter pages all set up in the same method as the one we have just made above.

    Hopefully by using these methods your ventures into the Pay Per Click search engine world will be more fruitful than the webmasters not using the above method.

    Article written by Lee

  • Sex Toy Affiliate Programs

    Date: 2011.02.24 | Category: Sponsors | Response: 0

    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

  • Converting French Traffic – The Niche Paysites That Work

    Date: 2011.02.21 | Category: Traffic | Response: 0

    In our last article we took a look at a three (3) month period of international traffic stats and, what niches worked on German adult traffic. In this article we will do the same again except we will be analyzing what niche paysites worked best on French porn surfers.

    French Traffic – Quick Analysis.

    It would seem that for many of the surfers we managed to grab and filter from France that their primary interest was in Teen and the Amateur niches although, that said, we did get a few conversion on some fetish paysites, specifically fetish sites that had ‘watersports’ and ‘BDSM’ featured on the paysites tour pages.

    French Adult Traffic – The Niches.

    As with the German traffic we targeted in the previous article we also filtered our French adult traffic to some niche specific hub sites as well as some general hub sites to better judge which niches converted the best on French surfers the results we experienced are as follows.

    Teen.

    Our conversions on French teen sites were not as good as what they were for German surfers however, that said, they were good non the less. With a ratio of around 1:192 over the three month period we analyzed the French adult surfers we managed to get to our sponsors sites worked well for us.

    Amateur.

    With our amateur conversions the one thing we noticed was that tours that featured teens as the main focus were the ones which converted consistently, with this in mind, we did change a couple of the Amateur tours we used to see how that would affect sales towards the end of the 3 month period and, sales did drop slightly, this would backup the statements in the Teen niche made above in that, French surfers are looking primarily for Teen orientated paysites.

    Asian.

    The two Asian niche paysites we used didn’t have many sales overall however, we did notice that the little traffic that we sent to them converted well, as above, Asian niche sites that featured teens were again the better converters on the French traffic we received.

    Ebony.

    I think it is worth mentioning the ebony niche, especially when you take into account we sent less than 100 hits to French ebony paysites and, managed to get 2 sales from those hits. Unfortunately, we did not anticipate the amount of traffic that wouldn’t choose the ebony niche so we have no solid figures that are worth mentioning here or, any explanation behind how we made the sales.

    Fetish.

    Our French fetish traffic seemed to like the more niche specific type of tours, making us sales on Watersports, BDSM and even general fetish paysites that said, the figures we achieved with the fetish pay sites we used were disappointing as we had thought this would be the ideal niche for the French markets.

    Gay.

    The sales we achieved with our gay French traffic were reasonable overall, the surfers chose to signup to gay sites that featured ‘twink’ like models on the tours again, this would lend favor to the fact that overall French surfers seem to be interested in the younger generation to get their kicks.

    French Traffic – The Results.

    Overall we were happy with the majority of the results we received on our French adult traffic with the exception of a few bad choices on our part trying to concentrate on the Fetish side of the industry. We certainly learnt that it would appear French adult surfers are looking for Teen orientated sites over the other niches.

    Article written by Lee

  • Cleaning Up The Myths On Scrubbing

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

    Time and time again on message boards I see the same old topics regarding scrubbing usually preceded by some company being accused of scrubbing their webmasters surfers to much and the webmasters sales being lower because of the sponsor ‘scrubbing’ their surfers however, the reality of this is, it isn’t the sponsors who control how much or how little the surfers credit card transactions are ‘scrubbed’.

    The E-Commerce Dilemma.

    Irrespective of whether you are an online bookmaker, bakery or adult pay site owner the fact of the matter remains that only credit card fraud is on the increase and, in addition to the rise of online credit card fraud the methods in which the perpetrators of these crimes carry them out is also changing often combating the methods put in place by the online transaction processors to stop this happening luckily however, this is where ‘scrubbing’ comes into effect.

    So What Is Scrubbing?

    Scrubbing is a method used by the credit card processor that the companies who’s site you are sending a surfer to uses. Scrubbing is in effect, a method of calculating the probability that any single transaction (or group of transactions) could be fraudulent. That is to say, is being carried out by someone other than the true owner of the credit or debit card.

    Scrubbing is probably the single most useful tool provided to our sponsors by the credit card processors to ensure that every transaction that gets sent to them is credible and, once the transaction is allowed (or not) a part of the information contained with the transaction is sent to a central database to help other clients of that processor guard against receiving unlawful transaction purchases.

    How Does Scrubbing Affect Me?

    As a webmaster, believe it or not, scrubbing is actually a good thing for you. You know that each transaction processed is first of all a legitimate one and, secondly, you know that the sponsor who you are using is not going to go bankrupt due to excessive illegal transaction. This means that the sponsor can improve the services they offer YOU as a webmaster to assist you in making more money.

    In essence, the scrubbing of credit card transactions at a sponsors level increases the amount of money you make long term not only with that individual sponsor but, with every other sponsors who uses the same transaction processor.

    Article written by Lee.

  • Robots.txt – Control The Robots That Crawl Your Sites

    Date: 2011.02.24 | Category: Search Engine Optimization, WebDesign | Response: 0

    By writing a structured text file you can indicate to robots that certain parts of your server are off-limits to some or all robots. It is best explained with an example:

    # robots.txt file for general use on web servers.

    User-agent: webcrawler
    Disallow:

    User-agent: googlebot
    Disallow: /

    User-agent: *
    Disallow: /cgi-bin
    Disallow: /logs
    The first line, starting with ‘#’, specifies a comment.

    The first paragraph specifies that the robot called ‘webcrawler’ has nothing disallowed: it may go anywhere.

    The second paragraph indicates that the robot called ‘googlebot’ has all relative URLs starting with ‘/’ disallowed. Because all relative URL’s on a server start with ‘/’, this means the entire site is closed off.

    The third paragraph indicates that all other robots should not visit URLs starting with /cgi-bin or /log. Note the ‘*’ is a special token, meaning “any other User-agent”; you cannot use wildcard patterns or regular expressions in either User-agent or Disallow lines.

    Two common errors:

    Wildcards are not supported: instead of ‘Disallow: /tmp/*’ just say ‘Disallow: /tmp’.
    You shouldn’t put more than one path on a Disallow line (this may change in a future version of the spec)
    Ultimately, without the use of robots.txt files on your servers/domains, you are risking a variety of potential problems including, unauthorized access to your cgi directory, unauthorized viewing of your site stats, possible spamming of the search engines by accidental crawling of doorway pages.

    One distinct advantage however of having a robots.txt file on your server is that, quite simply, you will be able to tell when and where your site has been indexed or potentially indexed as, all robots will automatically call for the robots.txt file BEFORE any other page on your server so, as long as you keep an eye open for any calls of this file, you can see who is knocking at your site for indexing purposes.

    Below is a robots.txt example that you can copy and paste into a text document to use on your own server:

    <!–Start Copy Below This Line–>

    User-agent: *
    Disallow: /cgi-bin
    Disallow: /logs

    <!–End Copy Above This Line–>

    The above will allow all spiders to crawl all of your site except the subdirectory’s ‘cgi-bin’ and ‘logs’ which, may be altered to suit any subdirectory’s you do not wish the spiders to crawl on your server.

    Article written by Lee

  • Now They Signed Up – Learn How To Keep Them

    Date: 2011.02.22 | Category: General | Response: 0

    Member retention is going to have a large effect on the adult industry over the next few months, with Visa chargeback rates being lowered and, many affiliate programs lowering their payout model something has to give and, hopefully, the thing that does give will be that affiliate programs start to realize that once they have your surfer, it becomes their responsibility to make that member retain.

    With that in mind this article will look at a few things that we have been doing on some of our paysites for the last few months and, instead of having to provide an excess of plug in content we have started updating our sites regularly within the niche confines of what our members are actually looking for, also, despite this increase in content, we have started doing something unique so far as member retention goes – actually communicating with the member directly.

    Communication Pays.

    Actually spending the time to listen to what your members want can be beneficial on many levels for example, how many of the big sponsors offer the member a chance to become involved in a ‘community’ inside their paysites, i can only think of 3 paysites that i have personally visited that do this.

    Often, offering your members a way to communicate to YOU what they want inside the site can, and usually will increase the value of their membership to you in the long run. offer your members weekly polls, offer them incentives to keep an active membership, perhaps some kind of loyalty program, in addition to a method of your paysite members being able to communicate to each other inside your site.

    Content Updates.

    We all know that paysites need to update however, how many paysite owners spend the time to ask their member what they are looking for? As mention in the previous section, offer your members polls on the next updates you will be doing, ask them what sections of the site need improving and, more importantly, ask them if they are happy with how your site looks and feels overall.

    Renewal Time.

    So you have managed to keep hold of your paysite member for a few days without them canceling and, their trial period is ending what now? Well, more often than not, communicating to the member that they are about to get rebilled can have a positive effect, send them an email prior to the rebill informing them of what your next set of updates will be, let them know they are a valued member of the site and, more importantly than this, that you are there to help them and listen to their suggestions. This is also an ideal time to remind them of why they joined your site in the first place, you have a lot of exclusive content that, simply put, no other paysite can offer them, you listen to their feedback and, again, value their feedback, all of these things will ensure that your member base retains well over the trial period.

    Second Month Renewals.

    So you have managed to keep your member for a month, and, again they are due a rebill, as with the first rebill you gave them, re-iterate the points of your site and, tell them what has changed over the past month, give them some sales speak about how your site is doing and, more importantly, what you have coming next month, by communicating these updates to your members a day or so before they have to renew, you should, in all honesty, keep their interest in your paysite and, more importantly, make more money from your members.

    So Your Member Cancels.

    Okay, so perhaps you managed to rebill your member for a few month or, perhaps they left after the trial period, what now? Simple, send them a follow up email, find out the reasons they cancelled their membership to your site and, see if you can offer them an alternative to stay, perhaps a reduced cost membership or, maybe even an alternative site altogether, if they entered your teen pay site and, were looking for amateur teen pics, even though you know you don’t have them yet, you will probably know of a site that does, tell this cancelled membership about this site and, get them to try it out, if you can match what the surfer is looking for to a site you own then you have a second chance at keeping their membership and, making money.

    Retention Overview.

    When all is said and done the one thing that is apparent so far as pay sites go is that a lot of them do not communicate with their members and build the sites they operate around what their members are looking for, we can all say we actually do this constantly but, how many of us really, hand on heart, can prove that they ask, listen and, more importantly, implement the feedback from their members base?

    Article written by Lee

  • Masters Of Discipline – Have You Got What It Takes?

    Date: 2011.02.22 | Category: General | Response: 0

    So you want to throw in your day job and become a full time adult Webmaster? Well yeah, I can hear you saying, “Who wouldn’t want to be surrounded by pictures of beautiful women all day, make up their own hours, and be the master of their own destiny?” It just sounds sooo good when it’s put like that doesn’t it?

    Before you tell your boss you quit, you might want to read this article first, as the reality of working in this industry and especially for yourself can be a real wake up call for many.

    The main thing you need to succeed in this business is discipline, and lots of it. If there are temptations when you work for someone else to slack off, take a sick day, or simply not bother showing up, then you can double those temptations when you work for yourself.

    It’s so easy to roll over in the morning rather than get out of bed, stagger to the PC, and actually work.

    It’s so easy to decide to take the day off when the sun is shining and the beach is calling. You simply tell yourself you’ll make up for it tonight, and then find yourself coming home at 3am.

    It’s so easy to not actually work, when you work for yourself, that at times it can be unreal.

    The reality of doing any of the above is longer nights, less sleep, and almost inevitably smaller paychecks.

    Structure Your Day.

    The answer to this problem is to really think about your working day and give it some structure, just as you would if you worked for someone else. Work set hours and take frequent breaks. When you work for someone else they make you take breaks for a variety of reasons, but mostly, because as research has proved, you’ll be more productive after one. It’s also important to make sure others know your hours as well, and always remember to add what time zone you are located in on any correspondence. There is nothing worse than being awoken by an associate at 3am because you forgot that little detail!

    Set A Routine.

    Get into a routine! There are various tasks that must be done each week no mater how boring. By creating a work routine, you can control your time and structure the more boring jobs at the end of the day when for most our creativity levels are less. You can also structure that routine as I do, when I’ve finished those boring tasks at the end of each day, I reward myself with some time doing what I want to do.

    Going Solo.

    This can be a lonely business and if you don’t like working alone then maybe it’s not the right one for you. You’ll likely spend many hours in your own company and as someone else pointed out to me, while boards and instant messengers are great, they can also eat heavily into your working time if you’re not careful. Personally, I use the boards and chats as a treat when I’ve accomplished a goal, unless I need to talk to someone in order to get that set goal done.

    If, like me, your office is in your home, in reality you never really leave work. It’s just always there and there is always something else to be done, and it’s so tempting just to work a few more hours. Having the discipline to stick to your office hours is the trick and where structure comes into play. The saying all work and no play makes Jack/Jill a dull boy/girl is really true here.

    The biggest trick of all though, is learning to recognize your limits. Set them and stick to them. Unlike in the normal workplace, you won’t have the big cheese or even the little one watching over your shoulder, making sure you work or making sure that your paycheck and your bills are covered each week. That’s up to you now.

    Think Before You Leap.

    Another thing you need to consider is can you REALLY afford to give up your day job? Working for someone else means that for the most part you will have a reliable pay check each week or month, when you work for yourself you loose that security. There are other things to consider as well like health insurance, book keeping and how exactly you are going to pay for them. Of course if there is another bread winner in the house this may not be of such a concern, but it’s still something you should consider before you give in your slip. As a general rule of thumb, if you’re considering going it alone, don’t, at least not until you have enough cash saved to cover any outgoings you might have over a six months period.

    How well do you know the law? If you think the law doesn’t affect you because your just one person working from home then think again. If you don’t know your Title 18 USC 2257 from your arse then you may be heading for trouble. Standing in front of a judge and saying I didn’t know won’t get you out of a heavy fine or even a prison sentence.

    The real questions you need to ask yourself now are you up to the challenge, and do you have the personal discipline to make this work for you?

    Article written by Jenne.

    http://www.clitical.com.

  • Adult Employment Vacancies

    Date: 2011.02.21 | Category: Employment | Response: 0

    For some the prospect of being able to work for another company online is something that they may ultimately want to pursue however, just how do you go about finding work for one of the many adult companies and, more importantly, how can you ensure that you have a better chance of being hired for the job once you find the position you would like to have at the company?

    Online Adult Employment – Job Types.

    Working in the adult industry can take many forms however, the most commonly perceived adult industry job is that of a model but, what about other online job vacancies such as graphics designer, marketing manager, sales director, and webmaster support representative, just how do you find out what companies are hiring and more importantly, what adult employment vacancies they have.

    Adult Employment Agencies.

    For many webmasters the chances of finding employment in the adult industry at a ‘regular’ online employment agency such as monster.com may seem impossible however, that said, many of the larger companies have realized the value of the mainstream employment agencies and, as such are now advertising on these sites for their staff but where else can you look? Well there are actually several adult industry employment sites that adult webmasters can look at to find their ideal job for example Adult Staffing, Sexy Jobs and, Adult Help Wanted in addition to several smaller sites operated by companies such as Cybererotica.

    Improving Your Employment Chances.

    So now you know where to look for adult employment opportunities what can you do to ensure you have a greater chance of being hired? Well as with the mainstream bricks and mortar job market having a good curriculum vitae (CV) can be a good start, ensure you keep your CV regularly updated and that it contains pertinent information for the type of job vacancy you are looking for in addition, often the first method of contact you will make with these potential employers will be via email or cover letter, make sure that you spend some time to write a letter that is not only noticeable but, interesting and, more importantly, grammatically correct. Demonstrate in this first stage of contact with your potential future adult employer that you take pride in your work and, you might just get bumped to the top of the ‘must see’ applicants.

    Adult Jobs – Overview.

    Many webmasters forget that there is more to the online adult industry than being able to party with the best of us and, whilst this does form a chunk of the industry overall it is not conducive of you further enhancing your online career, take the time to investigate all of the avenues available to you and, most importantly, make sure you choose a job that you not only want to do but one that you will enjoy, your reputation is the one thing that a potential adult employer will take into consideration, if you have had several previous jobs all lasting for short periods of time, it wont look as good to them as if you have only had a couple of jobs for a lengthier time frame. Most of all remember that whenever you contact a company looking for employers, make sure you are prepared and professional even if it is just sending them a quick email asking for further information.

    Article written by Lee.

  • Thinking Of Starting An Adult Website In The UK?

    Date: 2011.02.24 | Category: General | Response: 0

    We all know that there are many foreign / international adult webmasters and there are some very well known ones based in England however, before you start building your online empire what are the legalities regarding the type of content you can and cant use on your adult pornographic sites?

    To be honest with you, there are no ‘defined’ laws in England (At the time of writing this article) regarding the use of online media to promote adult activities however, it is a commonly held belief that as long as you stay to the same standard as what most ‘top shelf magazines’ or ‘R18 Videos’ have in them you shouldn’t go far wrong.

    So what are these standards? That’s the information that I am about to give you.

    Content that IS NOT acceptable.

    1) Any material which is in breach of the criminal law.

    2) Material (including dialogue) likely to encourage an interest in abusive sexual activity (e.g., pedophilia, incest) which may include depictions involving adults role-playing as non-adults.

    3) The portrayal of any sexual activity, whether real or simulated, which involves lack of consent.

    4) The infliction of pain or physical harm, real or (in a sexual context) simulated. Some allowance may be made for mild consensual activity.

    5) Any sexual threats or humiliation which do not form part of a clearly consenting role-playing game.

    6) The use of any form of physical restraint which prevents participants from withdrawing consent, for example, ball gags.

    7) Penetration by any object likely to cause actual harm or associated with violence.

    8) Activity which is degrading or dehumanizing (examples include the portrayal of bestiality, necrophilia, defecation, urolagnia).

    As you can see from the above, there ARE very specific guidelines regarding water sports, animality and, some of the more ‘out there’ fetishes.

    Now you know what you cant use on your adult sites, lets take a look at the list of sexual activities that you can use. Its no surprise that the list of what you can use is considerably shorter.

    Content that MAY BE acceptable.

    1) Aroused genitalia.

    2) Masturbation.

    3) Oral-genital contact including kissing, licking and sucking.

    4) Penetration by finger, penis, tongue, vibrator or dildo.

    5) Non-harmful fetish material.

    6) Group sexual activity.

    7) Ejaculation and semen.

    It also worth noting that the above guidelines are not distinguished between heterosexual or homosexual activities.

    So, that’s the low down on what the current status of affairs are with regards to the use of adult content on websites in England and Wales. Actually, that’s not to bad just ensure that you stay within these guidelines and, more importantly, that you do consult a solicitor before commencing any form of adult business after all, that’s what they are there for, to give you SOUND legal advice instead of basic ‘guidelines’.

    Article written by Lee

  • Using Basic Server Side Includes (SSI)

    Date: 2011.02.24 | Category: WebDesign | Response: 0

    Server side includes are what their name sounds like.  A way to include the contents of another file into your current web page BEFORE the web page gets sent off to the surfer.  Not only does this include contents of a static file but you can also include the results of a CGI program and on some web servers, you can even have it display the current date and time.

    Now, many web hosts do not normally have server side includes turned on. You will have to ask your host if they have SSI turned on and if they do, what is the file name extension for SSI.  By default, SSI files have an .shtml extension.

    Sometimes, you can turn SSI on yourself.  If you host doesn’t have SSI turned on for you already, you can try adding the following two lines to your .htaccess file.  Then create a file with the .shtml extension, include a SSI command and see if it works.

    AddType text/html .shtml
    AddHandler server-parsed .shtml

    When you use SSI commands, you place them exactly in the location within your web page where you want the output of the SSI command to appear when you finally browse the page.  If you have SSI, then you can use the following command to include a file.  When you include a file, you can either give it a path name to the file or you can give a URL to the file. I’ll list both here.

    <!–#include file=”/some/path/above/my/web/to/my/header.html” –>

    This is an example of how to include a file based on its path name.  Now,
    here’s the same file put included with its URL.

    <!–#include virtual=”/to/my/header.html” –>

    And this is an example of how to use a URL.  With a URL however, it cannot be a complete URL such as http://www.somesite.com/somefile.html.  It has to be within your current website.  You can also use the URL method to run a CGI script!  Here’s an example of that:

    <!–#include virtual=”/cgi-bin/somescript.cgi?myfirstarg=1amp;mysecondarg=2″
    –>

    As you can see, we can even pass arguments to the CGI script just as if you typed it into your browser!  There is also another way of running a CGI script but this is not as widely used any more and you should use the #include virtual method instead.  Here is the same example so that you will know what it means when you see it.

    <!-exec cgi=”/cgi-bin/somescript.cgi?myfirstarg=1amp;mysecondarg=2″ –>

    As I mentioned earlier, you can use SSI to display the current time and date. Here’s how:

    <!-echo “$DATE_LOCAL” –>

    This will display the current date and time. SSI is usually used when you  want to have a standard header or footer on each page.  It’s also used for displaying rotating banners or page counters. As you see above, you can also  use it to display the current date and time or the date when the page was  last modified.

    SSI has also been used for cloaking and some tracking  software uses SSI to track each incoming hit to the web page.  If you would  like more information about SSI, go to
    http://www.apache.org/docs/mod/mod_include.html.  This is the definitive guide on SSI on the Apache web server.

    Most other web servers that use SSI also follow these conventions.

    Article written by Lee

Premium Sponsors















Categories

Site Links