Making money online with affiliate links? Tjen penge på nettet med affiliate links? Here’sa quick and dirty way to cover your tracks and push more visitors to your affiliate pages which will ultimately result in a few extra sales. Her er hurtig og beskidt måde at dække dine spor og skubbe flere besøgende til dit affiliate sider, som i sidste ende vil resultere i et par ekstra salg. I’m going to show you how this is possible using a simple PHP script. Vil jeg vise dig, hvordan dette er muligt ved hjælp af en simpel PHP script.

Create a file called products.php (you can name it something else but if you do make sure you change it where applicable in the parts below). Opret en fil kaldet products.php (du kan kalde den noget andet, men hvis du gør det skal du sørge for at ændre det i givet fald i dele nedenfor). Now put something like this in it and change the URL’s to be whatever you want. Nu sættes sådan noget i den og ændre den URL's til at være, hvad du ønsker. You may need to create more elseif statements if you have a lot of affiliate links. Du kan være nødt til at skabe flere elseif erklæringer, hvis du har en masse affilierede links. Also make sure you put this code before ANY html for it to work, otherwise you’ll get a “headers already sent” error. Også skal du sørge for at sætte denne kode før nogen html for det arbejde, ellers vil du få en "headers allerede sendt" fejl.

  1. <?php
  2. if ( $go == product1 ) { //you can name "product1" anything, again make adjustments in your code later.
  3. $thislink = "http://affiliatesitelink.com/cars.php" ;
  4. }
  5. elseif ( $go == product2 ) {
  6. $thislink = "http://affiliatesitelink.com/moneonline/" ;
  7. }
  8. elseif ( $go == product3 ) { //just add more "elseif" statements for more products
  9. $thislink = "http://affiliatesitelink.com/loans.html" ;
  10. }
  11. else ( $go == product4 ) { //note I end with a plain "else"
  12. $thislink = "http://affiliatesitelink.com/ebook.asp" ;
  13. }
  14. //Now the redirect
  15. header ( ‘Location: ‘ . $thislink ) ; $ header ( ‘Location: ‘ . $thislink ) ;
  16. ?>

Mod Rewrite & .htaccess Mod Omskriv &. Htaccess

Technically you could call links up now by doing http://domain.com/products.php?go=product1 or http://domain.com/products.php?go=product2 ect. Teknisk du kunne kalde links op nu ved at gøre http://domain.com/products.php?go=product1 eller http://domain.com/products.php?go=product2 ECT. Why stop there? Hvorfor stoppe der? If your server has mod_rewrite enabled (very likely it does these days) you can put something like this in a .htaccess file and upload it to your root directory: Hvis din server har mod_rewrite aktiveret (meget sandsynligt, det gør disse dage) kan du sætte sådan noget i en. Htaccess fil og uploade den til din rodmappe:

  1. Options FollowSymLinks
  2. RewriteEngine on
  3. RewriteRule products / ( .* ) / ?$ / products . php?go = $ 1

Note there is a space after the ‘$’. Bemærk der er et mellemrum efter '$'. After this is in place you should be able to call up the affiliate redirect with a link like this: Når dette er på plads, bør du være i stand til at kalde på den affilierede omdirigere med et link som dette:
http://domain.com/products/product2/ (with or without the slash) http://domain.com/products/product2/ (med eller uden skråstreg)

Affiliates Links VIA ClickBank Affiliates Links via ClickBank

If you promote something like ClickBank products on your site there’sa similar way to cover your tracks. Hvis du fremme noget som ClickBank produkter på dit websted er der en lignende måde til at dække dine spor. This ones even quicker as we already know what to expect from each URL. Dette dem endnu hurtigere, som vi allerede ved, hvad de kan forvente fra hver enkelt webadresse. Its consistent every time except for one thing. Dens konsekvent, hver gang bortset fra én ting. (two if you use their built in sales tracker) (to, hvis du bruger deres bygget i salget tracker)

  1. <?php
  2. $cbid = "yourcbid" ; //put your clickbank ID here
  3. $affiliate = "http://" . $cbid . "." . $affiliateid . ".hop.clickbank.net/?tid=" . $tid ;
  4. header ( ‘Location: ‘ . $affiliate ) ; $ header ( ‘Location: ‘ . $affiliate ) ;
  5. ?>

Three lines…not too bad. Tre linjer ... ikke alt for dårlig. Again make sure its the first thing at the top of the page. Igen skal du sørge for sin første ting øverst på siden. Your content in the page will not matter at all (after the header redirect is ent it doesn’t read anything else). Dit indhold på siden vil ikke spørgsmål på alle (efter header omdirigere er ENT det ikke læse noget andet). Your resulting link would look like this: Din følge linket ville se sådan her ud:
http://domain.com/products.php?go=affiliateid&tid=3 http://domain.com/products.php?go=affiliateid&tid=3

Your .htaccess rewrite rule will look something like this: Din. Htaccess omskrive regel vil se sådan ud:
RewriteRule products/(.*)/(.*)/?$ /products.php?go=$1&tid=$2 RewriteRule produkter /(.*)/(.*)/?$ / products.php? Gå = $ 1 & TID = $ 2
Then you can call the link up using this: Så kan du ringe på linket op ved hjælp af denne:
http://domain.com/products/affiliateid/3/ http://domain.com/products/affiliateid/3/
You can do this with any affiliate link service that has a standardized way of linking to the products in their database. Du kan gøre dette med nogen affilierede link tjeneste, der har en standardiseret måde at forbinde til produkter i deres database.

The Logic Behind “Blind Folding” Affiliate Links Logikken bag "blinde Folding" Affiliate Links

The way I see it is the visitor eventually will realize the link has directed them to another site. Som jeg ser det, er den besøgende til sidst vil indse det link har rettet dem til et andet websted. However, they are more likely and willing to check out that offer if you have provided them a link that appears to go to another page on your own site. Men de er mere tilbøjelige til og villig til at kontrollere, at tilbyde, hvis du har givet dem et link, der ser ud til at gå til en anden side på dit eget websted. Half the battle is getting them through the door so they can truly determine if that product interests them. Halvdelen af den kamp at få dem gennem døren, så de virkelig kan finde ud af, om dette produkt interesserer dem. If they didn’t click on the link they would have never known what they were missing if that visitor turns into a sale. Hvis de ikke har klikket på linket ville de aldrig har kendt det, de manglede, hvis besøgende bliver til et salg. Using something like TinyURL.com appears as a dodgy link to your visitors as I mentioned in Wrong Turn TLA - TinyURL Covering your Affiliate Links . Bruger noget i retning af TinyURL.com vises som en dodgy link til dine besøgende, som jeg nævnte i Wrong Turn TLA - TinyURL Omfatter din Affiliate Links. If for nothing else it is a great way to log your visitors and track who clicks on what if you implement that with an SQL DB. Hvis ikke for noget andet er det en fantastisk måde at logge dine besøgende og spor, der klikker på det, hvis du gennemføre det med en SQL DB. Which brings me to the topic. Hvilket bringer mig til emnet.

If you’re really clever you’ll use some mySQL and can generate usage reports by including a simple ADD query in your products.php code. Hvis du er virkelig dygtig, du vil bruge nogle MySQL og kan generere brug rapporter ved at inkludere en simpel ADD forespørgsel i din products.php kode. This could give you insight into the behavior of your users since ClickBank doesn’t tell you how many times a person clicked through each link. Dette kan give dig indsigt i problemet af dine brugere siden ClickBank ikke fortælle dig hvor mange gange en person har klikket gennem hvert link. Then its just a matter of creating a simple form and/or query page to show the usage for each. Derefter sin bare et spørgsmål om at skabe en enkel form og / eller forespørgsel side for at vise brugsretten til hver. But that’s another day. Men det er en anden dag. If this is something you’re interested in seeing then comment on this page and I’ll make sure I write up a post on it sometime. Hvis det er noget du er interesseret i at se derefter kommentere på denne side, og jeg vil sikre mig, at jeg skriver en post på det engang.


3 Trackback(s) 3 Trackback (s)

  1. Sep 7, 2007: Web 2.0 - The Ten Critical Affiliate Strategies | www.bestdocsite.org Sep 7, 2007: Web 2.0 - De Ti Kritisk Affiliate Strategier | www.bestdocsite.org
  2. Sep 8, 2007: Sweet Gain » Blog Archive » Link Storm -V- Sep 8, 2007: Sweet Gain »Blog Archive» Link Storm-V -
  3. Mar 6, 2008: » Plugins and tools to help with SEO and affiliate sales > FiddyP 6 marts 2008: »Plugins og værktøjer til at hjælpe med SEO og affilieret salget> FiddyP


3 Comment(s) On 3 Kommentar (er),

"Increase Affiliate Income - Blindfolding Your Links" "Større Affiliate Indkomst - Blindfolding Dine Links"
  1. MyAvatars 0.2 Andy Bailey - Sep 8, 2007 Andy Bailey - Sep 8, 2007

    Excellent simple script, I especially like how you use htaccess to use it. Fremragende simpelt script, jeg især gerne, hvordan du bruger htaccess til at bruge det. nice rar

  2. MyAvatars 0.2 Patches and Hacks - Sep 18, 2007 Lapper og keyword - Sep 18, 2007

    This is a great post but if you don’t want to write or modify php code or htaccess rules every time you want to add or change an affiliate link and you’re using wordpress you might want to look into my new plugin that will let you manage all those links from a nice web interface inside wordpress admin: Det er en stor post, men hvis du ikke ønsker at skrive eller ændre php kode eller htaccess regler, hver gang du ønsker at tilføje eller ændre et affilieret linket, og du bruger wordpress du kunne have lyst til at se på mit nye plugin, der vil lade du styre alle disse bånd fra en pæn web interface inde wordpress admin:
    Here is where you can find out more about this free plugin: Her er, hvor du kan finde ud af mere om denne gratis plugin:
    http://patchlog.com/wordpress/hidden-affiliate-links/ http://patchlog.com/wordpress/hidden-affiliate-links/

  3. MyAvatars 0.2 Rob - Sep 18, 2007 Rob - Sep 18, 2007

    That plug-in looks great, but this tutorial is also for use on sites that don’t run wordpress Dette plug-in ser flot ud, men dette selvstudium er også til brug på websteder, der ikke kører wordpress :)



Leave A Comment: Efterlad en kommentar:

Comments RSS Feed Kommentarer RSS-feed

7 3 = 7 3 =

Custom Theme by Rob Malon | Content & Design © 2008 - Rob Malon [dot] Com. Custom Theme af Rob Malon | Content & Design © 2008 - Rob Malon [dot] Com. "));
"));