Bob's picture

I'm hoping this is the right place to make this post :)

I've been trying unsuccessfully for several days to implement Jeremy's link cloaking strategy as shown in his link cloaking video using a php file on my WordPress blog.

When I mouse over the affiliate link that I've updated on the page the php file redirect link shows OK in my bottom browser status bar.

Trouble is when I click on the updated affiliate link it doesn't go to the merchant. It shows a 404 error page.

I've tried uploading the php file to every area of my blog (admin, content and includes). I've even tried uploading it into the public html, www, and root file. All to no avail. The redirect doesn't go to the merchant.

I've checked and rechecked a dozen times for spelling etc. I created the file using Dreamweaver 8. I've refreshed my browser several times after each file upload.

I just can't seem to get the darn thing to go to the merchant.

Can anyone offer a suggestion as to where I may be going wrong?

Bob

Bob, Your question really

woodsja's picture

Bob,
Your question really should be posted in the PHP Scripting section of the forum. Question for you though, have you tested the affiliate link by itself without cloaking? It's possible that the link is bad. If that works then use the following code:



<?php header('Location: http://youraffiliatelink.com'); ?>

Place this code by itself in a new file and save the file as something.php. Upload this file to your web host and place it inside the public_html area of your site. You should be able to type http://yoursite.com/something.php in your browser's address bar and be redirected to the affiliate link. If you still have problems, feel free to contact me directly.

Cheers,
Jason Woods

What about this simple tool?

RedHot's picture

I found this handy free online tool I use for cloaking my CB links (it only works for CB products , I think)

http://www.hotitemfinder.com/cbtools/linkcloaker.php

This tool will cloak links in such a way that even when someone looks at the 'view source' in the browser, he'll not be able to see anything (use encode button for this). The only place where the affiliate nickname shows is the order form.

Jana

Syndicate content