ClickBank allows extra parameters to be passed so I can instruct my affiliates to add a parameter to their hoplink to override the default hoplink target page like this:
https://AFFILIATE.VENDOR.hop.clickbank.net/?p=112
This gets redirected to:
https://confidentman.net/confident-man-ebook/?hop=AFFILIATE&p=112
Unfortunately this confuses WordPress, which returns a 404. Ideally I’d like it to honor the p=… parameter and redirect to that post, instead of the default hoplink target in the URL: /confident-man-ebook
I tried creating a regular expression with the Redirection plugin to match this, but couldn’t quite get it to work. Anyone else know of a plugin to do this, or another way to vary affiliate hoplink targets?
Thanks,
Graham
I want to test the cloak hoplink. The hoplink is in php code:
<?php
header(“Location: https://AFFILIATE.PUBLISHER.hop.clickbank.net”);
?>
I put this hoplink in the widgets sidebar and press save.
Then my original site redirected to other site (mistake). I need to fix it.
Now the problem is if I click on the Widgets button at the wp control panel, it will redirect to other site, it will not go to the Widgets page. So now I can’t removed the code that in the widgets sidebar that I made mistake before.
Actually the widgets sidebar was disappear when I click the “Saves Setting button”.
I can put the php code in the widgets sidebar because I used the plugin called “php code widget”.
Thank you for your help.
Note: You can try go to the site. https://www.3eworld.org
]]>(blah blah blah code)
"https://www.skitsoid.com/public_html/wp-content/themes/adformat/images/Banner1.gif" WIDTH="360" HEIGHT="60" BORDER="6"></A>
<script type="text/javascript"><!--
shoppingads_ad_client = "482blah blah blah more code
is that area wrong?
]]>