<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Money-Code &#187; cloaking</title>
	<atom:link href="http://www.money-code.com/tag/cloaking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.money-code.com</link>
	<description>Coding For Online Success</description>
	<lastBuildDate>Tue, 15 Nov 2011 18:25:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Pay Attention to your Roll-Your-Own EPN sites</title>
		<link>http://www.money-code.com/2010/01/pay-attention-to-your-roll-your-own-epn-sites/</link>
		<comments>http://www.money-code.com/2010/01/pay-attention-to-your-roll-your-own-epn-sites/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 02:44:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Affiliate Marketing]]></category>
		<category><![CDATA[EPN]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[bans]]></category>
		<category><![CDATA[cloaking]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://www.money-code.com/?p=607</guid>
		<description><![CDATA[Yesterday I noticed that my EPN sites were having trouble with their searching capability. It appears that eBay changed some things related to their RSS feed on my searches, luckily my category RSS were okay, for the time being. This recent change affected my parser that extracts the Auction ID for my SEO links (internalized [...]


Related posts:<ol><li><a href='http://www.money-code.com/2010/01/epn-change-to-rss/' rel='bookmark' title='EPN change to RSS'>EPN change to RSS</a></li>
<li><a href='http://www.money-code.com/2009/07/epn-newsletter-referring-url-visibilty/' rel='bookmark' title='EPN Newsletter &#8211; Referring URL Visibilty'>EPN Newsletter &#8211; Referring URL Visibilty</a></li>
<li><a href='http://www.money-code.com/2009/10/epn-tracking-image/' rel='bookmark' title='EPN Tracking Image'>EPN Tracking Image</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.money-code.com%2F2010%2F01%2Fpay-attention-to-your-roll-your-own-epn-sites%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.money-code.com%2F2010%2F01%2Fpay-attention-to-your-roll-your-own-epn-sites%2F&amp;source=hanjicode&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Yesterday I noticed that my EPN sites were having trouble with their searching capability. It appears that eBay changed some things related to their RSS feed on my searches, luckily my category RSS were okay, for the time being. This recent change affected my parser that extracts the Auction ID for my SEO links (internalized links to eBay). I also noticed that they named a few new variables (this could be old news for many, but it was new to me)</p>
<p>icep_item=xxxxxx<br />
ipn=psmain<br />
icp_vectorid=xxxxxxx<br />
kwid=xxxxxx<br />
mtid=xxxx<br />
kw=rss<br />
icep_ff3=2</p>
<p>I was able to restore search functionality, but I only updated my rover redirects on one site to verify that this change did NOT impact my click counts for that site, and I&#8217;ll be migrating my rover code to this new style. I know I could pull this rover URL directly from the RSS result, but I&#8217;m not passing extraneous info via the querystring on my redirect. I may reconsider this though.</p>
<p>Today, Dave at <a href="http://buildanichestoreblog.blogspot.com/" target="_blank">BuildANicheStoreBlog.com</a> had a post stating that if you have BANS sites that have Cloak Affiliate Links in box #4 you may be experiencing problems. This seems awfully coincidental to my issues noticed yesterday. Apparently, those users are directed to a &#8216;Page Not Responding&#8217; at eBay. You can read Dave&#8217;s full post <a href="http://buildanichestoreblog.blogspot.com/2010/01/check-your-bans-sites-that-cloak-urls.html" target="_blank">here</a>.</p>
<div style='clear:both'></div>

<p>Related posts:<ol><li><a href='http://www.money-code.com/2010/01/epn-change-to-rss/' rel='bookmark' title='EPN change to RSS'>EPN change to RSS</a></li>
<li><a href='http://www.money-code.com/2009/07/epn-newsletter-referring-url-visibilty/' rel='bookmark' title='EPN Newsletter &#8211; Referring URL Visibilty'>EPN Newsletter &#8211; Referring URL Visibilty</a></li>
<li><a href='http://www.money-code.com/2009/10/epn-tracking-image/' rel='bookmark' title='EPN Tracking Image'>EPN Tracking Image</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.money-code.com/2010/01/pay-attention-to-your-roll-your-own-epn-sites/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>EPN Newsletter &#8211; Referring URL Visibilty</title>
		<link>http://www.money-code.com/2009/07/epn-newsletter-referring-url-visibilty/</link>
		<comments>http://www.money-code.com/2009/07/epn-newsletter-referring-url-visibilty/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 15:18:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Affiliate Marketing]]></category>
		<category><![CDATA[EPN]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[cloaking]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.money-code.com/?p=449</guid>
		<description><![CDATA[So I just received a new EPN newsletter, and the first item displayed is regarding referring URL visibility. Here is a what they said: We believe that transparency of referring URLs is vital to assessing traffic&#8217;s quality. For example, if an advertiser books outdoor billboards, they see where those ads appear and we believe the [...]


Related posts:<ol><li><a href='http://www.money-code.com/2009/07/epn-code-of-conduct-updates/' rel='bookmark' title='EPN &#8211; Code of Conduct updates'>EPN &#8211; Code of Conduct updates</a></li>
<li><a href='http://www.money-code.com/2010/01/pay-attention-to-your-roll-your-own-epn-sites/' rel='bookmark' title='Pay Attention to your Roll-Your-Own EPN sites'>Pay Attention to your Roll-Your-Own EPN sites</a></li>
<li><a href='http://www.money-code.com/2007/10/url-masking-cloaking/' rel='bookmark' title='URL Masking (cloaking)'>URL Masking (cloaking)</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.money-code.com%2F2009%2F07%2Fepn-newsletter-referring-url-visibilty%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.money-code.com%2F2009%2F07%2Fepn-newsletter-referring-url-visibilty%2F&amp;source=hanjicode&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>So I just received a new EPN newsletter, and the first item displayed is regarding referring URL visibility. Here is a what they said:</p>
<blockquote><p>We believe that transparency of referring URLs is vital to assessing traffic&#8217;s quality. For example, if an advertiser books outdoor billboards, they see where those ads appear and we believe the same should be true of Affiliate Marketing! It is therefore important to make sure your websites or tools are sending accurate referring URLs to eBay when traffic is passed through affiliate links. If we notice a high percentage of your traffic is not showing referring URLs, we will need you to resolve this as only a small percentage should be blocked by browsers. Soon we&#8217;ll be posting a series of tips on the blog that can help ensure your referring urls are being passed to our system.</p></blockquote>
<p>This is a little troubling since I&#8217;ve been redirecting EPN clicks back to my website and then directing those clicks to EPN via PHP&#8217;s header() function. This makes all of my links appear that they&#8217;re all links within my site.</p>
<p>I&#8217;ll be doing some tests today to see how I can provide them with referrer info while maintaining my current system on EPN storefronts.</p>
<div style='clear:both'></div>

<p>Related posts:<ol><li><a href='http://www.money-code.com/2009/07/epn-code-of-conduct-updates/' rel='bookmark' title='EPN &#8211; Code of Conduct updates'>EPN &#8211; Code of Conduct updates</a></li>
<li><a href='http://www.money-code.com/2010/01/pay-attention-to-your-roll-your-own-epn-sites/' rel='bookmark' title='Pay Attention to your Roll-Your-Own EPN sites'>Pay Attention to your Roll-Your-Own EPN sites</a></li>
<li><a href='http://www.money-code.com/2007/10/url-masking-cloaking/' rel='bookmark' title='URL Masking (cloaking)'>URL Masking (cloaking)</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.money-code.com/2009/07/epn-newsletter-referring-url-visibilty/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>URL Masking (cloaking)</title>
		<link>http://www.money-code.com/2007/10/url-masking-cloaking/</link>
		<comments>http://www.money-code.com/2007/10/url-masking-cloaking/#comments</comments>
		<pubDate>Fri, 05 Oct 2007 21:08:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Affiliate Marketing]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[cloaking]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[<p>So you may have come across the term of cloaking URLs, this usually sounds evil and bad, like cloaked pages, which is something entirely different. Cloaking pages is presenting pages based on certain conditions, usually presenting a specific page to Google, for example. Doing this will get you banned and removed from Google's index. Not good. Cloaking URLs is a slightly different concept. It's showing a URL that usually points to something in your own domain. Once you click on the link you'll be redirected to the 'real' destination URL.

<p>For example a CJ link for eBay would look like this:<br />
http://rover.ebay.com/rover/1/711-1751-2978-328/1?aid=10366506&#038;pid=123456

<p>But to cloak it you would make it look like this:


Related posts:<ol><li><a href='http://www.money-code.com/2009/07/epn-newsletter-referring-url-visibilty/' rel='bookmark' title='EPN Newsletter &#8211; Referring URL Visibilty'>EPN Newsletter &#8211; Referring URL Visibilty</a></li>
<li><a href='http://www.money-code.com/2010/01/pay-attention-to-your-roll-your-own-epn-sites/' rel='bookmark' title='Pay Attention to your Roll-Your-Own EPN sites'>Pay Attention to your Roll-Your-Own EPN sites</a></li>
<li><a href='http://www.money-code.com/2007/11/tracking-converting-keywords-from-your-ppc-campaigns/' rel='bookmark' title='Tracking converting keywords from your PPC campaigns'>Tracking converting keywords from your PPC campaigns</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.money-code.com%2F2007%2F10%2Furl-masking-cloaking%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.money-code.com%2F2007%2F10%2Furl-masking-cloaking%2F&amp;source=hanjicode&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>So you may have come across the term of cloaking URLs, this usually sounds evil and bad, like cloaked pages, which is something entirely different. Cloaking pages is presenting pages based on certain conditions, usually presenting a specific page to Google, for example. Doing this will get you banned and removed from Google&#8217;s index. Not good. Cloaking URLs is a slightly different concept. It&#8217;s showing a URL that usually points to something in your own domain. Once you click on the link you&#8217;ll be redirected to the &#8216;real&#8217; destination URL.</p>
<p>For example a CJ link for eBay would look like this:</p>
<p>http://rover.ebay.com/rover/1/711-1751-2978-328/1?aid=10366506&#038;pid=123456</p>
<p>But to cloak it you would make it look like this:</p>
<p>http://www.money-code.com/ebay</p>
<p>For this example we&#8217;ll use Apache&#8217;s module called mod_rewrite. Almost all installs of Apache have this installed, but some may not, so you&#8217;ll need to verify this. Also, this will need to be managed via a .htaccess file. This is another option that might not be available for you. Sometimes, some hosts will not give you the ability to manage mod_rewrite directives within .htaccess, so you&#8217;ll need to check here as well.</p>
<p>Simply create a file called .htaccess in the root of your site. Next we need to add our rewrite rule and action. Rewrite uses regular expressions, so you can get pretty tricky if you want, this example will be as simple as it can get.</p>
<div class="dean_ch" style="white-space: wrap;">
RewriteEngine on<br />
RewriteRule ebay$ http:<span class="co1">//www.ebay.com [QSA,L]</span><br />
&nbsp;</div>
<p>Basically, we&#8217;re turned on the &#8216;engine&#8217;. Our rule is ebay$ which means after the site name (www.money-code.com/) it&#8217;ll look for ebay and has to end at ebay. Meaning if we did this:<br />
http://www.money-code.com/ebay/ it won&#8217;t work&#8230; only http://www.money-code.com/ebay</p>
<p>Another directive you may need depending on your set up is RewriteBase, this primarily is used if you have your applicaiton in a subdirectory to start with, etc.</p>
<p>If you&#8217;re not familiar with regular expressions, you should stop now and buy this <a href="http://www.amazon.com/gp/redirect.html%3FASIN=0596528124%26tag=moneycode-20%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/0596528124%253FSubscriptionId=1XFK01HK9NZWGPENWGG2" target="_blank">book (Mastering Regular Expressions)</a>. RegEx will come in handy in the future! I basically can&#8217;t go a day without using some form of RegEx.</p>
<p>The second part of the line is a redirect destination. There are some flags at the end [QSA,L] which is [Q]uery [S]tring [A]ppend, [L]ast. We want to append any querystring data, and we want to close with this being the last rule.</p>
<p>Now, we&#8217;re not done. We need to do a few other things. Our anchor link will need the following attribute </p>
<div class="dean_ch" style="white-space: wrap;">
rel=<span class="st0">&quot;nofollow&quot;</span><br />
&nbsp;</div>
<p>This tells the robots that items at the end of this destination is not relevant to the site and to not follow. Unfortunately, spiders will still follow this, but we have one more simple technique. We drop a robots.txt file in the root and add the following:</p>
<div class="dean_ch" style="white-space: wrap;">
User-agent: *<br />
Disallow: /ebay<br />
&nbsp;</div>
<p>Now, &#8216;good&#8217; robots will pay attention to that and not follow the link.</p>
<p>Another option is to use PHP. You could create a link to point to the following:</p>
<p>http://www.money-code.com/ebay.php</p>
<p>ebay.php would contain the following code:</p>
<div class="dean_ch" style="white-space: wrap;">
<span class="kw2">&lt;?php</span><br />
<a href="http://www.php.net/header"><span class="kw3">header</span></a><span class="br0">&#40;</span><span class="st0">&quot;Location:http://rover.ebay.com/rover/1/711-1751-2978-328/1?aid=10366506&amp;pid=123456&quot;</span><span class="br0">&#41;</span>;<br />
<a href="http://www.php.net/exit"><span class="kw3">exit</span></a><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
<span class="kw2">?&gt;</span><br />
&nbsp;</div>
<p>This accomplishes the same thing, but at the code level vs. server directive.</p>
<h4>Incoming search terms:</h4><ul><li>URL masking htaccess</li><li>htaccess url masking</li><li>php url masking</li><li>mod_rewrite url masking</li><li>apache url masking</li><li>htaccess cloak url</li><li>url masking php</li><li>url masking with htaccess</li><li>url cloaking htaccess</li><li>url cloaking php</li></ul><div style='clear:both'></div>

<p>Related posts:<ol><li><a href='http://www.money-code.com/2009/07/epn-newsletter-referring-url-visibilty/' rel='bookmark' title='EPN Newsletter &#8211; Referring URL Visibilty'>EPN Newsletter &#8211; Referring URL Visibilty</a></li>
<li><a href='http://www.money-code.com/2010/01/pay-attention-to-your-roll-your-own-epn-sites/' rel='bookmark' title='Pay Attention to your Roll-Your-Own EPN sites'>Pay Attention to your Roll-Your-Own EPN sites</a></li>
<li><a href='http://www.money-code.com/2007/11/tracking-converting-keywords-from-your-ppc-campaigns/' rel='bookmark' title='Tracking converting keywords from your PPC campaigns'>Tracking converting keywords from your PPC campaigns</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.money-code.com/2007/10/url-masking-cloaking/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
