<?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>WPWife &#187; affiliate links</title>
	<atom:link href="http://www.wpwife.com/category/affiliate-links/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wpwife.com</link>
	<description>WPHelp: fix and optimise WP themes&#38;plugins</description>
	<lastBuildDate>Fri, 21 Nov 2025 12:00:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.38</generator>
	<item>
		<title>What is rel=”noopener” in WordPress? (Explained)</title>
		<link>http://www.wpwife.com/beginners-guide/what-is-relnoopener-in-wordpress-explained</link>
		<comments>http://www.wpwife.com/beginners-guide/what-is-relnoopener-in-wordpress-explained#comments</comments>
		<pubDate>Sat, 14 Jan 2023 09:38:00 +0000</pubDate>
		<dc:creator><![CDATA[Editorial Staff]]></dc:creator>
				<category><![CDATA[affiliate links]]></category>
		<category><![CDATA[Beginners Guide]]></category>
		<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">https://www.wpbeginner.com/?p=58252</guid>
		<description><![CDATA[
<p>Have you been wondering what rel="noopener" means in WordPress? When you add a link that opens in a new tab, WordPress will automatically add the rel="noopener" attribute to the link. In this article, we will explain what rel="noopener" means in WordPress and how it affects&#8230;&#160;<strong><a href="https://www.wpbeginner.com/beginners-guide/what-is-relnoopener-in-wordpress-explained/">Read More &#187;</a></strong></p>
<p>The post <a href="https://www.wpbeginner.com/beginners-guide/what-is-relnoopener-in-wordpress-explained/">What is rel=&#8221;noopener&#8221; in WordPress? (Explained)</a> first appeared on <a href="https://www.wpbeginner.com/">WPBeginner</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Have you been wondering what <code>rel="noopener"</code> means in WordPress?</p>



<p>When you add a link that opens in a new tab, WordPress will automatically add the <code>rel="noopener"</code> attribute to the link.</p>



<p>In this article, we will explain what <code>rel="noopener"</code> means in WordPress and how it affects your website.</p>



<figure class="wp-block-image size-full"><img width="680" height="385" src="https://www.wpbeginner.com/wp-content/uploads/2018/12/what-is-rel-noopener-in-wordpress-explained-og.png" alt="What Is rel=&quot;noopener&quot; in WordPress? (Explained)" class="wp-image-153150" srcset="https://www.wpbeginner.com/wp-content/uploads/2018/12/what-is-rel-noopener-in-wordpress-explained-og.png 680w, https://www.wpbeginner.com/wp-content/uploads/2018/12/what-is-rel-noopener-in-wordpress-explained-og-300x170.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<h4>What Is rel=&#8221;noopener&#8221; in WordPress?</h4>



<p>When you add links to your <a href="https://www.wpbeginner.com/guides/" title="How to Make a WordPress Website - Easy Tutorial - Create Website">WordPress website</a>, you can use HTML attributes to control what happens when you click the link.</p>



<p>For example, when you create a link, there is a toggle switch that allows you to open it in a new tab.</p>



<figure class="wp-block-image size-full"><img width="680" height="329" src="https://www.wpbeginner.com/wp-content/uploads/2018/12/noopenerexamplelink.png" alt="Opening a Link in a New Tab" class="wp-image-150521" srcset="https://www.wpbeginner.com/wp-content/uploads/2018/12/noopenerexamplelink.png 680w, https://www.wpbeginner.com/wp-content/uploads/2018/12/noopenerexamplelink-300x145.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>The HTML code generated by WordPress for this link looks like this:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: xml; gutter: false; title: ; notranslate">
&lt;a href=&quot;http://example.com&quot; target=&quot;_blank&quot; rel=&quot;noreferrer noopener&quot;&gt;external link&lt;/a&gt;
</pre></div>


<p>Notice that some HTML attributes have been added to the link, <code>rel="noopener"</code>&nbsp;and <code>rel="noreferrer"</code>. These attributes are added to address a security vulnerability.</p>



<p>The problem is that JavaScript code can be used to allow a new tab to get control of its referring window. If you link to an external website affected by the malicious code, then that website can use the <code>window.opener</code> property in JavaScript to change the original page (your website) to steal information and spread malicious code.</p>



<p>WordPress adds <code>rel="noopener"</code> to prevent the new tab from taking advantage of this JavaScript feature. Similarly, the <code>rel="noreferrer"</code> attribute prevents passing the referrer information onto the new tab.</p>



<h4>How Does rel=&#8221;noopener&#8221; Affect Your WordPress SEO?</h4>



<p>It doesn&#8217;t.</p>



<p>Even though the <code>rel="noopener"</code> attribute improves WordPress security, some users avoid using it because they think it will impact their <a title="Ultimate WordPress SEO Guide for Beginners (Step by Step)" href="https://www.wpbeginner.com/wordpress-seo/">WordPress SEO</a>.</p>



<p>But that&#8217;s just a myth.</p>



<p>It has no impact on your site&#8217;s <a title="How to Check If Your WordPress Blog Posts Are Ranking for the Right Keywords" href="https://www.wpbeginner.com/beginners-guide/how-to-check-if-your-wordpress-blog-posts-are-ranking-for-the-right-keywords/">SEO rankings</a> or your overall <a title="The Ultimate Guide to Boost WordPress Speed &amp; Performance" href="https://www.wpbeginner.com/wordpress-performance-speed/">WordPress performance</a>.</p>



<h4>What&#8217;s the Difference Between &#8220;noopener&#8221; and &#8220;nofollow&#8221;?</h4>



<p>It&#8217;s easy to confuse <code>rel="noopener"</code> with <code>rel="nofollow"</code>. However, they are completely separate attributes.</p>



<p>The <code>noopener</code> attribute prevents your website from cross-site hacking and improves WordPress security.</p>



<p>On the other hand, the <code>nofollow</code> attribute prevents your website from passing on SEO link-juice to the linked website.</p>



<p>Search engines look for and consider the <code>nofollow</code> attribute when following a link on your website. However, they do not give any consideration to the <code>noopener</code> tag.</p>



<p>By default, WordPress does not allow you to add <code>nofollow</code> to your external links. If you want to add <code>nofollow</code> in WordPress, then you will need to use a plugin.</p>



<p>To learn more, see our article on how to <a title="How to Add Title and NoFollow to Insert Link Popup in WordPress" href="https://www.wpbeginner.com/plugins/how-to-add-title-and-nofollow-to-insert-link-popup-in-wordpress/">add title and nofollow to links in WordPress</a>.</p>



<h4>Does rel=&#8221;noreferrer&#8221; Affect Affiliate Links in WordPress?</h4>



<p>The <code>rel="noreferrer"</code> does not affect affiliate links in WordPress. Some users believe that it does because <code>rel="noreferrer"</code> prevents the referrer information passing to the new tab.</p>



<p>However, most affiliate programs provide you with a unique URL that has your affiliate ID. This means your affiliate ID is passed along as a URL parameter for the other website to track.</p>



<p>Secondly, most affiliate marketers use a <a title="How to Cloak Affiliate Links on Your WordPress Site" href="https://www.wpbeginner.com/wp-tutorials/how-to-cloak-affiliate-links-on-your-wordpress-site/">link cloaking plugin</a> for their affiliate links.</p>



<p>With link cloaking, the affiliate link that your users click on is actually your website&#8217;s own URL, which then redirects users to the destination URL.</p>



<h4>How Do You Disable rel=&#8221;noopener&#8221; in WordPress?</h4>



<p>There is no need to remove <code>rel="noopener"</code> from links on your website. It is good for your website&#8217;s security and has no performance or SEO impact on your website.</p>



<p>However, if you must remove it, then you will have to <a title="How to Disable Gutenberg and Keep the Classic Editor in WordPress" href="https://www.wpbeginner.com/plugins/how-to-disable-gutenberg-and-keep-the-classic-editor-in-wordpress/">disable the Gutenberg block editor</a> in WordPress and use the old classic editor.</p>



<p>That&#8217;s because if you remove <code>rel="noopener"</code> from the link manually, the block editor will automatically add it back in to keep your website safe.</p>



<p>Once the block editor is disabled, you will need to add a code snippet to your theme&#8217;s <a title="What is functions.php File in WordPress?" href="http://www.wpbeginner.com/glossary/functions-php/">functions.php</a> file or to the <a href="https://wpcode.com/"  title="WPCode - WordPress Code Snippet Plugin" rel="noopener">WPCode</a> plugin (recommended). You can learn how to use the <a href="https://wordpress.org/plugins/insert-headers-and-footers"  title="WPCode Free Code Snippet Plugin for WordPress" rel="noopener">WPCode Free Plugin</a> in our guide on <a href="https://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/" title="How to Easily Add Custom Code in WordPress (Without Breaking Your Site)">how to easily add custom code in WordPress</a>.</p>



<p>Simply copy the following code into a new PHP snippet:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: php; title: ; notranslate">
add_filter('tiny_mce_before_init','wpb_disable_noopener');
function wpb_disable_noopener( $mceInit ) {
    $mceInit&#91;'allow_unsafe_link_target']=true;
    return $mceInit;
}
</pre></div>


<figure class="wp-block-image size-full"><img width="680" height="277" src="https://www.wpbeginner.com/wp-content/uploads/2018/12/noopenerwpcode.png" alt="Adding a Code Snippet Using WPCode" class="wp-image-150592" srcset="https://www.wpbeginner.com/wp-content/uploads/2018/12/noopenerwpcode.png 680w, https://www.wpbeginner.com/wp-content/uploads/2018/12/noopenerwpcode-300x122.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Make sure you change the &#8216;Active&#8217; toggle on and then click the &#8216;Save Snippet&#8217; button.</p>



<p>This will stop WordPress from adding <code>rel="noopener"</code> to new links. You will also need to manually edit any old links to remove the attribute.</p>



<p>Want even more control over which rel attributes get added to your links in WordPress? We recommend using the <a href="https://aioseo.com/"  title="All in One SEO - WordPress SEO Plugin and Toolkit" rel="noopener">AIOSEO plugin</a> because it lets you add title, nofollow, and other link attributes right inside the WordPress editor.</p>



<figure class="wp-block-image size-full"><img width="680" height="382" src="https://www.wpbeginner.com/wp-content/uploads/2015/08/nofollowaioseolink.png" alt="AIOSEO Adds NoFollow and Title Attributes to the Insert Link Popup" class="wp-image-143981" srcset="https://www.wpbeginner.com/wp-content/uploads/2015/08/nofollowaioseolink.png 680w, https://www.wpbeginner.com/wp-content/uploads/2015/08/nofollowaioseolink-300x169.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>We hope this article helped you learn about <code>rel="noopener"</code> in WordPress. You may also want to learn <a href="https://www.wpbeginner.com/beginners-guide/how-to-get-a-free-email-domain-quick-and-easy-methods/" title="How to Get a Free Email Domain (5 Quick and Easy Methods)">how to get a free email domain</a>, or see our list of <a href="http://www.wpbeginner.com/wordpress-performance-speed/" title="24 Tips to Speed Up WordPress Performance (UPDATED)">tips to speed up WordPress performance</a>.</p>



<p>If you liked this article, then please subscribe to our <a href="https://youtube.com/wpbeginner?sub_confirmation=1"  rel="noreferrer noopener nofollow" title="Subscribe to WPBeginner YouTube Channel">YouTube Channel</a> for WordPress video tutorials. You can also find us on <a href="https://twitter.com/wpbeginner"  rel="noreferrer noopener nofollow" title="Follow WPBeginner on Twitter">Twitter</a> and <a href="https://facebook.com/wpbeginner"  rel="noreferrer noopener nofollow" title="Join WPBeginner Community on Facebook">Facebook</a>.</p><p>The post <a href="https://www.wpbeginner.com/beginners-guide/what-is-relnoopener-in-wordpress-explained/">What is rel=”noopener” in WordPress? (Explained)</a> first appeared on <a href="https://www.wpbeginner.com/">WPBeginner</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wpwife.com/beginners-guide/what-is-relnoopener-in-wordpress-explained/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="0" type="" />
		</item>
		<item>
		<title>How To Cloak Affiliate Links In WordPress: With Or Without A Plugin</title>
		<link>http://www.wpwife.com/wordpress-guides/how-to-cloak-affiliate-links-in-wordpress-with-or-without-a-plugin</link>
		<comments>http://www.wpwife.com/wordpress-guides/how-to-cloak-affiliate-links-in-wordpress-with-or-without-a-plugin#comments</comments>
		<pubDate>Thu, 22 Mar 2018 12:55:55 +0000</pubDate>
		<dc:creator><![CDATA[Colin Newcomer]]></dc:creator>
				<category><![CDATA[affiliate links]]></category>
		<category><![CDATA[link cloaking]]></category>
		<category><![CDATA[thirstyaffiliates]]></category>
		<category><![CDATA[WordPress Guides]]></category>
		<category><![CDATA[wordpress link cloaking plugin]]></category>

		<guid isPermaLink="false">https://wplift.com/?p=71731</guid>
		<description><![CDATA[
<p>Which of these two URLs looks better? wplift.com/go/product product.com/sdfjkhsdfjhkskjhkuiweruireuhiuhe It&#8217;s the first one, right? That, plus other reasons, is why so many affiliate marketers cloak affiliate links on their sites. To help you do the same, I&#8217;m going to show you exactly how to cloak affiliate links in WordPress using three different methods (two plugins ... <a title="How To Cloak Affiliate Links In WordPress: With Or Without A Plugin" href="https://wplift.com/cloak-affiliate-links-in-wordpress">Read more<span>How To Cloak Affiliate Links In WordPress: With Or Without A Plugin</span></a></p>
<p>The post <a rel="nofollow" href="https://wplift.com/cloak-affiliate-links-in-wordpress">How To Cloak Affiliate Links In WordPress: With Or Without A Plugin</a> appeared first on <a rel="nofollow" href="https://wplift.com/">Learn WordPress with WPLift</a>.</p>
<img src="http://feeds.feedburner.com/~r/Wplift/~4/0p5DDRx324Q" height="1" width="1" alt="">
]]></description>
				<content:encoded><![CDATA[<p>Which of these two URLs looks better? wplift.com/go/product product.com/sdfjkhsdfjhkskjhkuiweruireuhiuhe It&#8217;s the first one, right? That, plus other reasons, is why so many affiliate marketers cloak affiliate links on their sites. To help you do the same, I&#8217;m going to show you exactly how to cloak affiliate links in WordPress using three different methods (two plugins ... <a title="How To Cloak Affiliate Links In WordPress: With Or Without A Plugin" class="read-more" href="https://wplift.com/cloak-affiliate-links-in-wordpress">Read more<span class="screen-reader-text">How To Cloak Affiliate Links In WordPress: With Or Without A Plugin</span></a></p>
<p>The post <a rel="nofollow" href="https://wplift.com/cloak-affiliate-links-in-wordpress">How To Cloak Affiliate Links In WordPress: With Or Without A Plugin</a> appeared first on <a rel="nofollow" href="https://wplift.com/">Learn WordPress with WPLift</a>.</p><img src="http://feeds.feedburner.com/~r/Wplift/~4/0p5DDRx324Q" height="1" width="1" alt=""/>]]></content:encoded>
			<wfw:commentRss>http://www.wpwife.com/wordpress-guides/how-to-cloak-affiliate-links-in-wordpress-with-or-without-a-plugin/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="0" type="" />
		</item>
	</channel>
</rss>
