How do I hide affiliate links in WordPress?

The basic process of cloaking affiliate links is simple:

  1. Create a folder from where you’ll serve your redirects. At Yoast, we use /out/.
  2. Block the /out/ folder in your robots.txt file by adding: Disallow: /out/
  3. Use a script in your redirect folder to redirect to your affiliate URLs.


How To Cloak Affiliate Links In WordPress Without A Plugin

  1. Step 1: Create A New Folder On Your Server. Once you’ve connected to your site via FTP, create a new folder in the root folder of your site. …
  2. Step 2: Upload index. php File. …
  3. Step 3: Add Your Affiliate Links In redirects. txt File. …
  4. Step 4: Use Robots.


You don’t want to instill any doubt in a reader before they click on an affiliate link. This is especially important when it comes to affiliate marketing. By presenting a clean, understandable affiliate link, you’ll inspire trust in your visitors and make them more likely to click.

How do you cloak?

If you’re using the Pretty Links plugin, getting started with link cloaking is simple. All you have to do is add a new link and customize the URL you want to use, then choose which type of redirection to apply.

IT IS INTERESTING:  Can you roll back WordPress update?

“You will not cloak, hide, spoof, or otherwise obscure the URL of your Site containing Special Links (including by use of Redirecting Links) or the user agent of the application in which Content is displayed or used such that we cannot reasonably determine the site or application from which a customer clicks through …

What do affiliate links look like? Affiliate links look like any other URL or hyperlink, except that they contain additional key bits of information (e.g. your unique site or affiliate ID, plus the ID of the particular offer or landing page you are advertising – thus allowing the customer to land on the correct page).

How do I mask a URL in WordPress?

How to Use:

  1. Edit (or Add) a Page, Post, or Custom Post Type.
  2. Underneath the page editor, find the “Content Mask Settings” metabox.
  3. Click the Checkmark on the left to enable Content Mask.
  4. Paste a URL in the Content Mask URL field.
  5. Choose a method: Download, Iframe, or Redirect (301).

To change the URL shown in the Affiliate URLs tab, go to Affiliates → Settings → Misc tab and enter in the desired default URL.

What is cloaking in Adwords?

Cloaking refers to the practice of presenting different content or URLs to human users and search engines. Cloaking is considered a violation of Google’s Webmaster Guidelines because it provides our users with different results than they expected.

Most Popular URL Shortener Services

IT IS INTERESTING:  How do I print a session in WordPress?

A lot of people who start with internet marketing knows about! That will allow them to create short URLs easy to manage. These services are used to create shorter URLs but in fact, these services are nothing more than URL cloaking services.

Can you cloak a URL?

URL masking, also known as cloaked URL forwarding, or link cloaking, uses your domain name for your website in a different way. In this case, the domain points to a browser with a frame which shows your website within it. No matter which page you click on your website, the URL in your address bar stays the same.

Is Cloaking illegal?

Is cloaking illegal? Cloaking is an attempt to distort the search engine rankings by creating cloak content. It is an illegal practice and considered a Black hat SEO cloaking technique. There are instances where the search engines have permanently banned the websites who engage in cloaking from indexing on their sites.

What is cloaking in dating?

However, things aren’t so bad that we’ve experienced one of the most brutal, harrowing, and upsetting dating trends out there. Coined by Mashable’s Rachel Thompson, ‘cloaking’ is essentially when you get stood up on a date while simultaneously being blocked and removed from all social accounts.

How does invisible cloak work?

In general, an invisibility cloak works by diverting the path of light around an object so that it continues on the other side as if the object were not there.

Best WordPress Themes