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


Nov 4, 2009
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

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.


  • amazon_cpa.gif
    8.2 KB · Views: 212
Last edited:
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:
Sorry, I got sidetracked yesterday.

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

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="buy.aspx.vb" Inherits="buy" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL][/URL]">
<html xmlns="[URL][/URL]">
<head runat="server">
    <form id="frmBuy" runat="server">

buy.vb (codebehind file)
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
            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

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?
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features and essential functions on BlackHatWorld and other forums. These functions are unrelated to ads, such as internal links and images. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock