1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cloaking Amazon CPA page, this is what I found out...

Discussion in 'Cloaking and Content Generators' started by Foobyte, Nov 12, 2009.

  1. Foobyte

    Foobyte Newbie

    Joined:
    Nov 4, 2009
    Messages:
    6
    Likes Received:
    0
    On my latest site I tried a highly optimized SEO approach (at least IMO).

    For my products, instead of linking straight to Amazon, I used a redirector page to which I feed the product name. But instead of an ID, I feed it a string such as "casablanca_1942_on_blu_ray".

    My redirector (buy.aspx) immediately redirects to the amazon page.


    This is all pretty straight forward, no questions asked.

    However, due to having an entirely new domain and watching the indexing actively, I found out that this page is actually being indexed as

    domain.com/buy.aspx?title=casablanca_1942_on_blu_ray

    but it also shows the actual amazon title and description which looks like the image below.

    It was fairly unexpected. (I'm new to the CPA game). And I thought some other people may find this of interest. as it looks like a straight amazon link if someone searches and clicks via a search engine, but you still get credited for it.
     

    Attached Files:

    Last edited: Nov 12, 2009
  2. divinci

    divinci Junior Member

    Joined:
    Sep 25, 2007
    Messages:
    111
    Likes Received:
    15
    thanks for the info :) nice site btw
     
  3. bangus

    bangus Newbie

    Joined:
    Jan 19, 2009
    Messages:
    24
    Likes Received:
    1
    can you share the script?
     
  4. Foobyte

    Foobyte Newbie

    Joined:
    Nov 4, 2009
    Messages:
    6
    Likes Received:
    0
    Yes, I will share the technical info. I'm on my way out, but I'll respond later today.
     
  5. blackhatdan

    blackhatdan Newbie

    Joined:
    Nov 29, 2009
    Messages:
    12
    Likes Received:
    1
    yep... nice website. a script would be nice! :)
     
  6. shadowpwner

    shadowpwner Regular Member

    Joined:
    Apr 19, 2009
    Messages:
    300
    Likes Received:
    73
    Yeah, curious what buy.aspx contains :D

    edit: i don't know whats wrong with google, looks like a straight header redirect. Interesting....
     
    Last edited: Nov 30, 2009
  7. Foobyte

    Foobyte Newbie

    Joined:
    Nov 4, 2009
    Messages:
    6
    Likes Received:
    0
    Sorry, I got sidetracked yesterday.

    The buy.aspx is pretty straight forward, nothing I intentionally did to provoke the behavior.


    buy.aspx
    Code:
    <%@ Page Language="VB" AutoEventWireup="false" CodeFile="buy.aspx.vb" Inherits="buy" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd[/URL]">
    <html xmlns="[URL]http://www.w3.org/1999/xhtml[/URL]">
    <head runat="server">
        <title></title>
    </head>
    <body>
        <form id="frmBuy" runat="server">
        <div>
            
        </div>
        </form>
    </body>
    </html>
    
    buy.vb (codebehind file)
    Code:
    [/COLOR][/SIZE][/COLOR][/SIZE][/COLOR][/SIZE]
    Imports Microsoft.VisualBasic
    Imports cDatabase
    Partial Class buy
        Inherits System.Web.UI.Page
        Public db As New cDatabase
        Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            db.Initialize_Records() 'preload database
            Dim RecordID As Integer = db.Identification_ToID(Request.QueryString("title")) 'match the SEO-friendly title to a database record
            Select Case Request.QueryString("title") 'SEO-friendly, if no titel then go to homepage, otherwise, if record was found, redirect to CPA
                Case 0
                    Response.Redirect("/")
                Case Else
                    Response.Redirect(db.Records(RecordID).AffiliateLink) 'straight-up redirect to fully qualified amazon link (with http, etc)
            End Select
        End Sub
    End Class
    [SIZE=1][COLOR=#0000ff][SIZE=1][COLOR=#0000ff][SIZE=2][COLOR=#ffffcc]


    I added some comments, but it should be pretty straight-forward, as it's a simple response.redirect. Let me know if you have any additional questions.

    Thanks about the comments of the WWII site. I was going to add some more trailers to gain traffic through YT. But I've been slacking and didn't get around it, nor link-building. As of now, the page doesn't make any money yet. Also, the new background image is too bright, it makes the site hard to read. Though, my application (purpose of the site) is pretty nice, I agree :D, the first time I used ajax to make an instant-update to individual parts of the site.

    This is not your typical site to generate revenue, but an approach with a little application, which I thought was pretty bad ass. But without traffic I'm not making a dime. Any suggestions? Perhaps a linkwheel through a blog farm?