EPN Condemns 302 Redirects, Click Volume Plummets
Okay, the title is a little dramatic. This new change at EPN hasn’t as adversely affected everyone else as it has me (as far as I know). But it did make my daily clicks drop by like 200%. I will now tell you why, on the off chance you have the same problem.
A while ago, I made a post containing some tips and tricks to customize PhpBay, which is a fantastic wordpress plugin used to display eBay results that you should already have. In that post, I mentioned editing templates.ebay.results.html to make your entire listing results clickable (not just the title or title/image, but the whole shabang). I am making this post on the outside chance that either you made/found a similar code, or by the grace of God you got the code from this very site, making me personally responsible for your misfortune.
I can’t even remember where I got that code. I think I may have stole it from Radio, creator of Auction2Post. If it wasn’t him, I have a feeling whoever it was is going to remind me soon! Anyway, it worked great for a long time.
Then one day I get an email from Wade over at PhpBay telling me that Ebay has decided they don’t want affiliates using 302 redirects on their sites anymore. PhpBay was using 302 redirects by default. Why did Ebay make this seemingly trivial request? Well, apparently some affiliates were having their 302 redirect links indexed with Ebay’s content on search engines. In other words, a user executes a search query on Google, sees a result they like with a URL that points to your site, but when they click it, they are just forwarding (through an aff link) to that result on Ebay. Ebay didn’t like this. And unless you own Google, you are basically dropping rover links on a 3rd party site, and that is a no-no.
Okay, so Ebay wants 301 redirects. This will tell the search engines that the content found on the other side of that affiliate link belongs to Ebay. Fine with me. Being the upstanding and incredibly quick working man that he is, Wade over at PhpBay quickly investigated what changes needed to be made to the plugin in order to adhere to these new terms.
It ended up being a very small change to one file, the file known as auction.php that sits in whatever directory you happened to install WordPress. I opened a beer and began updating every single one of my sites. I then played TF2 and fell asleep peacefully around 7am.
OMG Where Are My Clickz!?
The next few days my EPN dashboard graph thingy looked like the world’s tallest and simplest roller coaster. Needless to say, I was alarmed. I quickly began creating EPN conspiracy theories in my mind (and on message boards).
I feel like this story is getting long-winded and dramatic so I’m just gonna cut to the chase:
IE will NOT pass the referring URL to a new window with Javascript!
Freaking Internet Explorer. And as we all know, the masses still use the browser that was conveniently pre-loaded for them on their PC. If you navigated to my old post which contains the modified template.ebay.results.html code, you will see something like:
added in there. This was the culprit. Only non-IE visitors were managing to click from my site to eBay. People using IE would click a result, then be taken to a blank page on my site where they would scratch their heads and then immediately forget my site ever existed.
Solution
Since I’m just a retard that steals other people’s code and can barely make a blog post, I had no idea what the hell to do. Luckily, my coding wizard friend Ryan looked into it for me and found an extremely simple solution to fix this.
Follow these super duper easy steps:
- Open up the new Auction.php file in your favorite text editor (Notepad2 is a good one)
- Scroll down to line 35, and find the string: $referer_approved = false;
- Simply change “false” to “true” (without the quotes, duh!)
And like magic, the javascript links will work again.
Will eBay Care?
How in the heck should I know? If anyone at the eBay Partner Network is reading this, please feel free to respond. Also, did I ever tell you how beautiful you are?
Hey Wait a Second, Why do you Need that Javascript Crappola Anyway?
Well, that’s a valid question. I guess I don’t, really. But I really like making the entire listing clickable. I also like the fact that when a user hovers over the link it doesn’t show the URL at the bottom of their browser. I’m not ready to part with those two things, as I feel they improve the performance of the majority of my sites. I am also fantastically stubborn and didn’t want to revert to “default”.
My birthday is tomorrow, so I’m gonna start drinking now. Bye!





Hey Man, Happy Birthday!
I seem to get rollercoasters like this all the time with epn, theres been something every 3 months ever since they moved from CJ I swear. Changes 1st of June too mean A2P updating too many sites :/ Long!
Also what do you think about this idea:
http://blog.woodylabs.com/2010/05/ebay-partner-network-experiments-splitting-campaigns-for-epc/
Splitting campaigns for epc? I am not 100% sure if its working or not because of some irritatingly timed downtime.
Hey offwhitehat.com, I have a question. I’m running the Build a Niche Store script. ALL my links stopped working and I have no idea how to fix it. Do you have any ideas? Thanks for any help… I’m really worried about losing all my sites.
Changing the false to true will allow clicks through that have no referrer… Which is the whole point of the code update.
If that much of your traffic has referrers blanked, I’d say you are going to have some problems with the new rules now that they are enforcing the transparency requirement.
Happy Birthday!
Dan, check this out:
Cloaking fix
That may be the fix you need.
@Brian
The point of the code update was to switch 302 redirects to 301, as is my understanding. Both types pass referring URL information. I’m aware that EPN has asked publishers to try to ensure they are passing referring URLs, but I haven’t read anything that states that sending X amount of clicks without a referring URL is a terminable offense. Blank referrers are going to occur anyway, there is no way to eliminate them completely. Of course, a large number of them may very well bring unwanted attention and a possible review of your account.
It was the issue of using 302 redirects and having affiliate links pointing to eBay indexed that they were concerned about, and that they said may lead to publishers being expired.
There were two points to the code update that Wes issued.
1. Change 302 to 301, we are in agreement there.
2. Address transparency issues.
The code that they sent out updates the redirect to a 301. It also checks to see if the referrer is blank. If it is, it does not pass the visitor along to eBay.
This update was put into place because a large number of EPN affiliates received transparency warnings 2-3 weeks ago. They were told to improve their transparency percentage or they would be terminated.
Here is a warning about transparency…
“This is a vital element of all eBay’s partnerships and underpins the whole ethos of rewarding publishers for the quality of traffic they send to eBay. As a result, the Network Quality team continually check publishers and they will inform you if a high percentage of your referring URLs are not visible. If there is not any improvement after this communication, you may be expired from the network.”
Bad transparency is certainly something that can get you kicked out.
Well, sneezing without permission can also get you kicked out of EPN (from what I’ve heard). What’s interesting to me is that I’ve been using javascript on nearly all my EPN sites, which I assume has been stripping the referrer for IE users (who of course make up the majority) all along, yet I never got an email about the transparency warning.
Yea, tell me about it. Who really knows. I’m just happy to still be getting paid, but Amazon is looking better and better every day. You do any Amazon?
How can clicks drop by 200%? rofl
Lol. It’s my blog and I can hyperbolize all I want!