-
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
-
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.
-
Building A Surfer Trap – Stage 1
The last 2 weeks I have had a LOT of webmasters email and ICQ me regarding traffic and, not getting any sales.
So, I thought it would be a good idea to make a step by step tutorial on building your own surfer trap.
Now these are some of the arguments I have heard why people haven’t already built one over the last few weeks…
* To complicated to follow.
* I want surfers returning to my site.
* Don’t have the time.The first two however seem to be the ones that I hear over and over again.
First of all, a surfer trap IS NOT complicated, in fact, it is probably one of, if not THE easiest type of site to build.
Secondly, Why get a surfer visiting your site over and over again if they are not paying for trial memberships? All you are doing is wasting your bandwidth.
Thirdly, A surfer trap can be built over a period of time, my very first trap was built within 1 hour my next was built in a day and my next one was built in a week.
So onto the start of building our surfer trap…
The first thing that I want you to do is to look at the Multi-Site FPA’s that ARS in the marketing section and choose ONE of them.
Download it, optimize the keywords on the FPA, make sure you add meta tags, titles descriptions and Alt tags on all images.
Once you have done this, you now need to search through ALL of the single site FPA’s and download and optimize one for each of the ARS sites that you have on your Multi-Site FPA. (Even the gay sites!)
This should take you 2-5 minutes for EACH FPA, any longer than that and you are doing TOO much work!
Once you have all of the single FPA’s downloaded, optimized and uploaded onto your server that is the first stage completed.
Article written by Lee
-
Using Full Page Ad’s
Full page ad’s can be used for more than just ‘adverts’ in fact, there is a wide and varied range of uses for them, below I have detailed some of the uses that I have tried in the past and from my experience, they seem to work well enough.
Creating A ‘Hub’ Site – By interlinking FPA’s together in a range of niches and, offering your surfers a money bar linking to other FPA’s in different niches, you can actually get some good rankings in the SE’s and, if you utilize banner exchanges or counters on your FPA ‘hub’ site you can also ensure you get a fair amount of additional traffic. One thing I like to do with my FPA hub is use it as the ‘exit’ page when a surfer leaves one of my sites. This ensures that I am getting optimum traffic for my time spent a) building sites and B) building my hub.A lot of people I have spoken to about ‘hub’ sites simply forget about them once they have been built, personally, I do not see the point in doing this, if you build something like this why not send your exit, top list, counter, banner exchange traffic to the first page of your ‘hub’?
Doorway Pages.
FPA’s also make exceptional SE doorway pages, by optimizing your image names, meta tags and text on the individual FPA’s you are not only ensuring they WILL get ranked by the SE’s but, if you ‘hub’ them together as explained above you will also get some premium listings from them.
Filter Pages.
What I learnt to do early on is rather than send my surfers directly to the sponsors using the ‘standard’ linking codes is to send them first to an FPA with a money bar (or table ad) on it, this way, if they click the link in error and not realize that they are going to a pay site, you can give them an option, not only to use their ‘back’ button but also, to go to a different niche or, to continue into the sponsors tour. Now that you can link directly to a specific tour page on ARS sites, this method is a good way to give your surfers a ‘fresh’ tour front page.
PPC Listings.
An FPA is an ideal way to get sites listed in the PPC engines, not only do you show the surfers EXACTLY what is in the site they have just clicked on but, you also have the added option of being able to utilize blur consoles and exit consoles on them.
One other thing that I will mention, is that often, you will find that FPA’s that you have made yourself, no matter how ‘amateur’ looking they are will work better than the ‘pretty’ sponsor built FPA’s.
Hopefully, this article has given you some ideas on how you can better utilize FPA’s and not just use them in the same manner as every other adult site on the internet. If you have some good results from using FPA’s in this manner feel free to post about it on the ARSR Support forums and likewise, if you can think of any additional uses that have not been mentioned here let us know on the forums.
Article written by Lee
-
Traffic Filtering – Country Specific Redirects
To some, actually marketing to foreign surfers is a waste of time rather than a business practice. Unfortunately, they are missing out on additional revenue. We are already beginning to see some of the major sponsors in the adult industry embracing these foreign markets and, not just by utilizing dialers.
However, filtering your traffic base is often the hardest part of this money making equation. That is where the following piece of PHP coding can come in handy.
PHP FILTERING CODE
<?
$user_lan = $HTTP_ACCEPT_LANGUAGE;if($user_lan==’de’) {
## German
$redir_url = “http://www.germanlanguagepageurl.com”;} elseif($user_lan==’fr’) {
## French
$redir_url = “http://www.frenchlanguagepageurl.com”;} elseif($user_lan==’it’) {
## Italian
$redir_url = “http://www.italianlanguagepageurl.com”;} elseif($user_lan==’es’) {
## Spain
$redir_url = “http://www.spanishlanguagepageurl.com”;## US traffic or Rest of world not defined above
} else {
$redir_url = “http://www.yourmainpageurl.com”;}
header(“Location: $redir_url”);
exit;?>
So, we know that the above piece of coding can redirect surfers based on their country of origin however, in order for you to maximize this to its full potential you will need to know the country specific codes (Also called ISO 639 codes) for each of the main browser languages. Some of these are as follows.
da | Danish
de | German
en | English
es | Spanish
fi | Finnish
fr | French
it | Italian
jp | JapaneseThe problem you now have is finding where to send your filtered country specific surfers to. Of course, there is always the dialer option however, this is not going to be as lucrative to your wallet as what most people will have you believe.
In fact, I very rarely use a dialer on my foreign traffic instead, I tend to send them to a language specific tour page from one of the big sponsors and, if they do not sign up to that sponsors site, this is the point where I throw a dialer at them and, if the dialer still doesn’t make any money off the surfer I then recycle the surfer for a fresh one through a toplist or banner exchange heavy page.
In doing this I find it is often more productive than ‘regular’ English speaking traffic as, if you give the surfer something they are looking for, they will be more inclined to buy.
Hopefully this article has given you some insight into filtering and using your foreign traffic as oppose to just sending them off to a dialer program.
Article written by Lee
-
Cascading Style Sheet Basics
CSS (Cascading Style Sheets) have been around for a while now, and act as a complement to plain old HTML files.
Style sheets allow a developer to separate HTML code from formatting rules and styles. It seems like many HTML beginners’ under-estimate the power and flexibility of the style sheet. In this article, I’m going to describe what cascading style sheets are, their benefits, and two ways to implement them.
Cascading What’s?
They’re what chalk is to cheese, what ice-cream is to Jell-O they complement HTML and allow us to define the style (look and feel) for our entire site in just one file!They get their name from the fact that each different style declaration can be “cascaded” under the one above it, forming a parent-child relationship between the styles.
They were quickly standardized, and both Internet Explorer and Netscape built their latest browser releases to match the CSS standard (or, to match it as closely as they could).
So, you’re still wondering what a style sheet is? A style sheet is a free-flowing document that can either be referenced by, or included into a HTML document (Kind of like using SSI to call a file but not, if that makes sense). Style sheets use blocks of formatted code to define styles for existing HTML elements, or new styles, called ‘classes’.
Style sheets can be used to change the height of some text, to change the background color of a page, to set the default border color of a table the list goes on and on. Put simply though, style sheets are used to set the formatting, color scheme and style of an HTML page.
Style sheets should really be used instead of the standard , < b >, < i > and < u > tags because:
One style sheet can be referenced from many pages, meaning that each file is kept to a minimum size and only requires only extra line to load the external style sheet file
If you ever need to change any part of your sites look/feel, it can be done quickly and only needs to be done in one place: the style sheet and furthermore, it is done globally.
With cascading style sheets, there are many page attributes that simply cannot be set without them: individual tags can have different background colors, borders, indents, shadows, etc.
Style sheets can either be inline (included as part of a HTML document), or, referenced externally (Contained in a separate file and referenced from the HTML document). Inline style sheets are contained wholly within a HTML document and will only change the look and layout of that HTML file.
Open your favorite text editor and enter the following code. Save the file as styles.html and open it in your browser:
Cascading Style Sheet Example.
h1
{
color: #636594;
font-family: Verdana;
size: 18pt;
}This is one big H1 tag!
When you fire up your browser, you should see the text “This is one big H1 tag!” in a large, blue Verdana font face.
Let’s step through the style code step by step. Firstly, we have a pretty standard HTML header. The page starts with the tag followed by the tag. Next, we use a standard tag to set the title of the page we are working with.
Notice, though, that before the tag is closed, we have our tag, its contents, and then the closing tag.
h1
{
color: #636594;
font-family: Verdana;
size: 18pt;
}When you add the style sheet code inline (as part of the HTML document), it must be bound by and tags respectively. Our example is working with the tag. We are changing three attributes of the ’s style: the text color (color), the font that any tags on the page will be displayed in (font-family), and lastly, the size of the font (size).
The code between the { and } are known as the attributes. Our sample code has three. Try changing the hexadecimal value of the color attribute to #A00808 and then save and refresh the page. You should see the same text, just colored red instead of blue.
An Example Of An External Style Sheet.
External style sheets are similar to internal style sheets, however, they are stripped of the and tags, and need to be referenced from another HTML file to be used.Create a new file called “whatever.css” and enter the following code into it:
h1
{
color: #a00808;
font-family: Verdana;
size: 18pt
}Next, create a HTML file and name it test.html. Enter the following code into test.html:
External Style Sheet Reference Example.
This is one big H1 tag!As mentioned above, you can see that the actual code in whatever.css is exactly the same as it was in the inline example. In our HTML file, we simply place a tag in the section of our page. The rel=”stylesheet” attribute tells the browser that the link to the external file is a style sheet. The type=”text/css” attribute tells the browser that whatever.css is a text file containing CSS (cascading style sheet) declarations. Lastly, the href=”whatever.css” attribute tells the browser that the actual file we want to load is whatever.css.
Conclusion.
Well, there you have it, a quick look at style sheets and how to implement both an inline and external version. Checkout the links below if you’ve never worked with cascading style sheets before. You will be surprised at some of the things you can do with them!Article written by Lee.
-
Marketing And Building For Women Sites
When marketing sites to the female surfer, just how different does the building process become, are there things that you should leave out or add in that you usually wouldn’t for the male adult arena? Hopefully this article will explain this in some more depth.
I have broken this article down into specific segments that should be considered when building your for women sites these are as follows:
Sub Niches
As with every other niche in the adult industry the For Women market has their own individual sub niches. These vary from young guys to older men, couples, stories, fantasy, bondage, cartoons and a whole plethora of other niches all of which are to many mention here. Your chosen niche should reflect in the content you will be using and, more importantly, the content of the pay site to where you are sending the surfer. This is the best time to get a feel for your content and, it alleviates some hardships later on when you realize you have built a site full of hairy guys, only to realize the only site you can send them to is a gay bear site, not the most appealing site for a female surfer to join.
Where Do You Want To Go With This Site?
Are you looking to create a free site for the sole reason of driving traffic to your surfer trap, are you going to make a free site in order to make a sale, are you building a site for an AVS system? These are all decisions that you need to make before you start the building process, planning at this stage will reap its benefits later on. You should also consider the sponsor that you will utilize on the site, are you going to use all pay sites, sex toy sponsors or, will you use a mix, you need to plan this well as you do not want to end up with a site where all of the sponsors you are using end up negating the values of each other.
What Type Of Female Are You Looking To Attract?
Do you want to attract female surfers looking for erotica or, do you want to attract female surfers who are after something else, take a look at some of the female traffic sites, see what each of the sites presented to you offer their female surfers, can your match or better what these sites offer and, more importantly, can you offer something that the female surfer is likely to want?
Content Is King.
As with every other niche you need to pre-select the content that you will use on this site, do you have something that can be used and, used in such a way it generates interest from the surfer, if you are using stories on your site are they appealing, how do the men in the images look? All of these need to be taken into consideration before you start to use your content, if you do not have any content you need to choose some from one of the for women content providers, keep in your budget, make sure the content is right for your needs, not to hardcore but, not to softcore, keep it simple and erotic.
Layout
When creating your galleries be creative, anyone can stick up a 10 pic gallery but it takes a true marketer to place creative text on the page, provide the female surfer with some additional information, make it up if you have to, tell them the model is called Brian, tell them his stats, let them know some more information about the model. This will be more likely to get the women who visit your galleries / sites interested in both the images and, more importantly, the erotic side of the model you are using, if the model is available inside your sponsor pay site, you will more than likely find that the female surfer will want to get more information about the model out of sheer interest alone if nothing else.
Choose Your Marketing Strategies.
Will you be using banners, text links or, other media to sell your for women sponsor? We all know the proliferation of banners on the internet have made them less ‘click-able’ than what they used to be. Use some ‘erotic’ text over banners or, even use text on its own.
Keywords And Relevancy
Keep your smack talk pleasant but to the point, the majority of female surfers would prefer to click on a link that said ‘Steve erotically caressed his penis against her cheeks’ than, ‘Steve shot his hot creamy load all over her face’ see the difference? one is sensual and erotic the other is pure porn, female surfer are mainly erotica driven not porn driven.Speak To Another Webmaster / Web Mistress.
The for women niche is still relatively untapped at the moment, the people who are catering for this niche know the niche, most of them are female themselves and, as such, will know what works and what does not. How would you speak to a woman you met in public? There is a difference between speaking to a ‘guy’ and speaking to a female. Let this difference also show in your site too. If you have no idea how to market to women, ask one, you can find a message board dedicated to female webmasters at http://www.femalewebmasters.com and i am sure one of the posters there would be happy to help you out.
Design And Practice.
You now have the basics set you should now move onto designing you layout, keep your design simple, keep it neat, don’t over do the ‘female’ aspect of the site, over use of pinks, pastels and similar colors can undo all the preparation work you have just done, be subtle, know you are designing a site for the female surfer but keep it generalize, soft tones in color are not always the best way to use colors. Pink is not always for girls, blue is not always for boys, shades of pastel blue has just as much of a feminine effect as pinks and reds. Choose your color scheme wisely and this will pay off big time.
However you decide to develop your site you should ensure that it melts together nicely, use contrasting colors for your banners, background and text, make sure the content is not too gay looking and that the female surfer knows the site was built specifically for her but, also ensure you have the links visible in case you get surfers from other niches at your site, don’t do yourself out of money just because this is a for women site this is probably the only element that crosses over between niches be they straight, gay or in fact, for women.
Article written by Lee.
-
Anime vs. Cartoon – What Is The Difference?
Over the past three years I have written articles, been a guest on radio shows, and even been part of panels, all discussing the wonders and bewilderment of anime and hentai content. In that time, I thought I had covered most aspects of the niche, the content, the market, the huge underground following, the money making potential etc. Yet I am still being asked on a regular basis questions about the niche and especially about the confusion of what is anime vs. other toon type content. So I decided to re-visit the issue in this article.
One of the newer occurrences that seems to have confused many a webmaster, is the recent surge of content providers now offering images that they have titled as anime. Many of these images are computer generated images (CGI) in 3D like format, which tend to portray almost life like images. While others are cartoon images in various styles, that while they do have their market, are certainly not anime.
Anime and Bishoujo (also known as Hentai) images are very unique in their style and characterization. If you know certain key points about the art work, you will know if what you are looking at or purchasing can truly be termed anime. And believe me, your surfers or members definitely know the difference! Here are some of the key things that you can do to assure yourself of what you are getting:
Eyes: The eyes are one of the most important features of anime style characters; they are the most expressive parts of the face, and are part of what makes each character different and recognizable. Large eyes are of course the one feature that most people associate with anime, but just making the eyes large is not enough. Anime characters’ eyes should always have at least some sort of shading. Anime females in particular tend to have really heavy shading and lots of shiny areas. Male characters have light glares in their eyes, too, though they often are not as large or obvious.
Nose and Mouth: Anime style noses and mouths are pretty straightforward, they consists of three basic simple shapes: a wedge for the nose, a long, thin line for the mouth, and a shorter line to define the lower lip. You will rarely see teeth on an anime character, even when the character is seen with the mouth wide open.
Hair: Hair styles of Anime characters are stylized, unique, and sometimes impossible to have in the real world. Any hair color is possible, be it blond, black, sky blue, light green, orange, pink, all the colors of the rainbow. Hair length is also unusual as most males have shoulder length hair and most females either have really short hair or their hair is at least four feet long.
Now this is obviously a generalization as there will be some variance in images depending on the style of a particular artist. But in general, this is what the anime/hentai surfer will look for. The other key to authentic anime is the style itself, the art is hand drawn and until recently always hand inked or colored as well. Though some artists now draw the sketches by hand and color via the computer, it is still very easy to notice the difference in quality of hand drawn art.
I am not saying that other artworks do not have their market, they certainly do! I just want to make sure, if you are promoting images as Anime that you are truly using anime images, otherwise your sales or sign ups will not be near what they could be.Now let’s visit toons shall we? Cartoons, toons, sexy toons, erotic art, erotic illustrations, what ever you want to call them, are also very popular with many surfers. Toons are just what they seem to be, illustrated drawing depicting various characters in an exaggerated form. These images are fantastic for use on or for promoting the mired of Toon sites out in the market today. Toons, like Anime can fulfill fantasies that cannot be realized in real life or with real people. If you can think of it, it can be drawn! There is high demand for quality sexy toons because the loyal surfers out there cannot get enough.
There are things to watch out for however even in toon content. Copyrighted characters, this has been a popular debate among those of us that deal and make our living from anime and toons. A copyright is a copyright is a copyright! Whether it be created or shot, the characters belong to the creators. Even if the character has been modified to blur the identity, if it is a recognizable character, ie, Batman, Flintstones, Sailor Moon, DragonBallZ etc. then you can be opening yourself up to prosecution from the copyright holder. Many a webmaster can tell you about hearing from Nintendo, Disney, Marvel and many other companies on this issue. Some providers feel that since such images are a parody of the copyrighted characters, they are protected, and in some cases they might be. But unless you have very deep pockets or a rich uncle to help you win that court battle, I would strongly suggest you steer clear of this type of image.
As with any content you purchase it is important that you do your research and know your provider! Just because some one is selling something, it does not automatically make it legal, nor does it indemnify you, if it is not illegal. Unfortunately, as in all business there are a few bad apples out there that are willing to risk their reputations and their business to make a few quick bucks. If a provider tells you that the anime/toon images they offer come from Japan, and it is ok to use them, because the Japanese artists do not care, run, do not walk from this provider because that is simply a lie. Japanese artists are very aware of the theft of their artwork and many are now utilizing the Bourne Convention (http://www.law.cornell.edu/treaties/berne/overview.html) to actively prosecute offenders throughout the world.
I hope this has helped clear up some of the confusion about anime vs. cartoons, and as always I am more than happy to answer any questions you may have on the subject. You can always find me through my sites.
Article written by Bestat
-
Adding Images To Your Web Pages
The Basics
Adding Images To Your Web Pages – The Basics.
So you have just got into the online adult business but don’t know your ass from your elbow, you have the simplistic stuff relating to HTML down but, you want to find out how you can start adding banners and images to your pages here is a quick guide to help you on your way.
What Is An Image?
The answer, is, believe it or not simple, An image is a picture on a page of your website. There are however, many way to display images on your site from the size of it to the overall effect you want the image to have on your HTML page and from borders around the image and many other things.
However, I don’t want to blind you with information at the moment considering you need to actually know the basics of adding images before you can start using fancy styles and the likes.
Adding A Basic Image.
The HTML code to add an image on any HTML based page is a straight forward one however, before you can use this HTML tag you need to know where on your page you want the image to appear.Now that you have decided where you want your image to display you need to use the image tag, the HTML coding to place an image on your page should be IMG. Also, you will need to tell your page where you want the image to come from or, in other words, you need to tell it the source of the image you want to use the HTML tag to do this is SRC.
For example, lets say you have an image called porn.gif (you need to include the extension in your SRC coding) you would display this image on your page using the following code:
<IMG SRC=”porn.gif”>
Simple huh?
Well, actually, maybe not, for example, what do you put if the images you are linking to is NOT in the same location as the page you want it to appear on? That’s not a problem, all you need to do is use the FULL location of the image in your IMG HTML tag like this:
<IMG SRC=”http://www.domain.com/images/porn.gif”>
You should now be able to include images on your pages without any problems.
Image Sizes.
Ok we can now include an image on our pages but, what if we want to make this image fit the feel of the rest of our page / site, how do you manipulate the graphic to ‘look’ right?There are a number of ways images can be manipulated for example, if you want the image to be 100 pixels wide by 100 pixels high you can add the WIDTH and the HEIGHT tag to your HTML coding like this:
<IMG SRC=”http://www.domain.com/images/porn.gif” WIDTH=”100″ HEIGHT=”100″>
That will now resize your image into a square that is 100 pixels wide and high.
Now we have the image on our page in the right size we require what else can we do with it? Read on..
Borders + Colors.
In addition to placing the image and resizing the image on our pages we can also add a border and, a border color to the mage to make it stand out if needed for example:<IMG SRC=”http://www.domain.com/images/porn.gif” WIDTH=”100″ HEIGHT=”100″ BORDER=”2″ BORDERCOLOR=”FF0000″>
As you can see we have now added the two tags ‘BORDER’ and ‘BORDERCOLOR’. The first ‘BORDER’ tag tells your HTML what size of border you want around your image and, this can be any size you want to make the image stand out on your page. The second ‘BORDERCOLOR’ tag tells your HTML code what color you want the border to be again, this can be any color you like to match the rest of your sites pages.
Linking An Image.
In addition to resizing, adding borders and colors we can also link our image to a specific URL (the most common form of this is with banner advertising) and, if you want to link your image to a URL you would use the following coding:<A HREF=”http://www.sponsorsurl.com”><IMG SRC=”http://www.domain.com/images/porn.gif” BORDER=”2″ WIDTH=”100″ HEIGHT=”100″ BORDERCOLOR=”FF0000″>
This will create an image that is 100×100 pixels in size, with a border size of 2 pixels in the color FF0000 that is linked to http://www.sponsorsurl.com
Also, the order of the HTML tags we use is not important however, you should try to get used to arranging them in a certain way to make your work easier if it ever comes to editing your images.
Hopefully this has been of use to you and you can now see that adding banners and images to your sites isn’t as daunting as you first thought.
Article written by Lee.
-
Geo Targeting – What Exactly Is It?
As the adult industry reaches further and further across the online global community we are beginning to realize the importance of our foreign surfers, gone are the days of shifting them off to a dialer site instead, we find more and more companies actually using geo-targeting techniques to filter and monetize this profitable traffic more but, how does geotargeting work and, more importantly, is it any good? They are the questions we will look at in this article.
GEO::IP – The Basics.
The Geo::ip module is a relatively simplistic database of IP addresses and, the matching country to which the IP address belongs. This means that the GEO::IP module can be used for a variety of purposes including automatically selecting the language and countries of your visitors, for credit card fraud detection, and for software export controls.Geo Targeting – The Basics.
As described above, the GEO::IP module is what drives any and all forms of geographical location targeting system (geo targeting). Geo targeting is the method most commonly used in the adult industry to either send a surfer to a localized version of a paysite or, send them off to a dialer in an attempt to monetize them it works by checking either the surfers browser language, country ip address or, both of these.Putting Geo Targeting To Work.
Despite what most webmasters may think about the complexities of geo targeting and the GEO::IP Module for Perl they are easy to use and implement and, furthermore, there are cost free and highly effective ways of using geo targeting on your sites to monetize your international traffic. Lets look at two easy free solutions for webmasters to geo target their traffic.JavaScript.
Using JavaScript you could add the following code between your HTML <head> and </head> tags to redirect international traffic to a specific url on your server:<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>Php.
Using .php you can add the following to your sites pages to redirect traffic based on their browser language.
<?
$user_lan = $HTTP_ACCEPT_LANGUAGE;if($user_lan==’de’) {
## German
$redir_url = “http://www.germanlanguagepageurl.com”;} elseif($user_lan==’fr’) {
## French
$redir_url = “http://www.frenchlanguagepageurl.com”;} elseif($user_lan==’it’) {
## Italian
$redir_url = “http://www.italianlanguagepageurl.com”;} elseif($user_lan==’es’) {
## Spain
$redir_url = “http://www.spanishlanguagepageurl.com”;## US traffic or Rest of world not defined above
} else {
$redir_url = “http://www.yourmainpageurl.com”;}
header(“Location: $redir_url”);
exit;?>
As you can see from the above two examples, monetizing your international foreign traffic is a relatively easy step and, with the right sponsors to send this traffic to you will be able to reap the profits of countries that other webmasters are not targeting yet.
Geo Targeting – Overview.
When all is said and done geo targeting can be a cost effective way to increase your bottom line profits, whether using a free method as described above or, using one of the many filtering services available on the net you should start to monetize your global surfers. One thing you should also consider however is that far from sending your international traffic to a dialer you should search around and find a good mix of adult affiliate programs with a variety of localized paysites, this in itself will enable you to see just how much traffic you have been wasting by using dialers in the past and, it will also allow you to realize the full potential of your new found geo targeted adult traffic.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