Making money online with affiliate links? Tjäna pengar på nätet med affiliate-länkar? 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. Här följer ett snabbt och smutsigt sätt att täcka dina spår och driva fler besökare till din affiliate sidor som i slutändan kommer att leda till några extra försäljning. I’m going to show you how this is possible using a simple PHP script. Jag ska visa dig hur detta är möjligt på ett enkelt PHP-skript.

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). Skapa en fil som heter products.php (du kan kalla den något annat men om du gör det måste du ändra det i förekommande fall i de delar nedan). Now put something like this in it and change the URL’s to be whatever you want. Nu sätta något sådant i den och ändra url: en till vad du vill. You may need to create more elseif statements if you have a lot of affiliate links. Du kan behöva skapa fler elseif uttalanden om du har en hel del affiliate länkar. Also make sure you put this code before ANY html for it to work, otherwise you’ll get a “headers already sent” error. Se också till att du placerar denna kod innan html för att det skall fungera, annars får du en "rubriker redan skickat fel.

  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 Rewrite &. 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. Tekniskt du skulle kunna kalla länkar dig nu genom att göra http://domain.com/products.php?go=product1 eller http://domain.com/products.php?go=product2 ect. Why stop there? Varför sluta där? 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: Om servern har mod_rewrite aktiverat (mycket troligt det dessa dagar) kan du lägga något sådant i ett. Htaccess fil och ladda upp den till din rotkatalog:

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

Note there is a space after the ‘$’. Tänk på att det är ett mellanslag efter "$". After this is in place you should be able to call up the affiliate redirect with a link like this: Efter detta finns på plats bör du kunna plocka fram den affiliate dirigera med en länk så här:
http://domain.com/products/product2/ (with or without the slash) http://domain.com/products/product2/ (med eller utan snedstreck)

Affiliates Links VIA ClickBank Affiliates länkar via ClickBank

If you promote something like ClickBank products on your site there’sa similar way to cover your tracks. Om du främja något liknande ClickBank produkter på din webbplats finns ett liknande sätt för att täcka dina spår. This ones even quicker as we already know what to expect from each URL. Detta som ännu snabbare som vi redan vet vad de kan förvänta sig från varje webbadress. Its consistent every time except for one thing. Dess konsekvent varje gång förutom en sak. (two if you use their built in sales tracker) (två om du använder deras byggdes försäljning 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 rader ... inte så dåligt. Again make sure its the first thing at the top of the page. Återigen se sin första sak högst upp på sidan. Your content in the page will not matter at all (after the header redirect is ent it doesn’t read anything else). Ditt innehåll på sidan kommer ingen roll alls (efter rubriken hänvisning ent det inte läsa något annat). Your resulting link would look like this: Din följer länken skulle se ut så här:
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 skriva om regeln kommer att se ut ungefär så här:
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: Då kan du ringa på länken med hjälp av detta:
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öra detta med någon affiliate länkar tjänst som har ett standardiserat sätt att länka till de produkter som i deras databas.

The Logic Behind “Blind Folding” Affiliate Links Logiken bakom "Blind fällbara" affiliate länkar

The way I see it is the visitor eventually will realize the link has directed them to another site. Som jag ser det är besökaren slutändan kommer att inse sambandet har riktat sig till en annan webbplats. 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 är mer benägna och villiga att kontrollera att erbjuda om du har gett dem en länk som verkar gå till en annan sida på din egen webbplats. Half the battle is getting them through the door so they can truly determine if that product interests them. Halva slaget är att få dem genom dörren så att de verkligen kan avgöra om denna produkt intresserar 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. Om de inte klicka på länken de skulle ha aldrig vetat vad de skulle saknas om att besökaren förvandlas till en försäljning. 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 . Med hjälp av något liknande TinyURL.com visas som en skumma länkar till dina besökare som jag nämnde i Wrong Turn tla - TinyURL Omfattar 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. Om inget annat är det ett utmärkt sätt för att logga dina besökare och spår som klickar på det om du genomföra detta med en SQL DB. Which brings me to the topic. Vilket leder mig till ämnet.

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. Om du är riktigt smart du använder vissa MySQL och kan ge upphov till användning rapporter från bland annat en enkel ADD fråga i din products.php kod. 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. Detta skulle kunna ge er en inblick i beteendet hos användarna eftersom ClickBank inte tala om för dig hur många gånger en person klickade igenom varje länk. Then its just a matter of creating a simple form and/or query page to show the usage for each. Sedan dess bara en fråga om att skapa en enkel form och / eller förfrågan sidan för att visa användningen för varje. But that’s another day. Men det är en annan 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. Om detta är något du är intresserad av att se sedan kommentar på denna sida och jag ser till att jag skriver upp en post om det någon gång.


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 Tio kritisk Affiliate Strategies | www.bestdocsite.org
  2. Sep 8, 2007: Sweet Gain » Blog Archive » Link Storm -V- Sep 8, 2007: Sweet Gain »Blog Archive» Länk Storm-V -
  3. Mar 6, 2008: » Plugins and tools to help with SEO and affiliate sales > FiddyP 6 mars 2008: »Plugins och verktyg för att hjälpa till med SEO-och affiliate-försäljning> FiddyP


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

"Increase Affiliate Income - Blindfolding Your Links" "Öka Affiliate Resultat - Blindfolding Din Länkar"
  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. Excellent enkelt skript, jag gillar särskilt hur du använder htaccess att använda den. nice trevlig

  2. MyAvatars 0.2 Patches and Hacks - Sep 18, 2007 Patchar och Hacks - 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: Detta är en stor post men om du inte vill skriva eller ändra PHP-kod eller htaccess regler varje gång du vill lägga till eller ändra en affiliate-länk och du använder wordpress du kanske vill titta på min nya plugin som gör att du hantera alla dessa länkar från en trevlig webbgränssnitt inne wordpress admin:
    Here is where you can find out more about this free plugin: Här kan du ta reda på mer om denna kostnadsfria 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 Denna plug-in ser stor, men den här guiden är också att användas på webbplatser som inte drivs wordpress :)



Leave A Comment: Lämna en kommentar:

Comments RSS Feed Kommentarer RSS-flöde

5 - 4 = 5 - 4 =

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