Embed Any Content† Into Your WordPress Website
Content Mask allows you to embed any external content onto your own WordPress Pages, Posts, and Custom Post Types. The end result is fairly similar to setting up a Domain Mask, but the content is embedded into the front end of your website and is fully contained inside your WordPress permalink ecosystem.
Example: If you built a landing page on
landing-page-builder.com/your-landing-page/, you can simply create a new Page on your website at
your-site.com/landing-page/and paste in the URL of your landing page. The Content Mask plugin will then download and cache of copy of your landing page directly on your website, so any visitors that come to
your-site.com/landing-page/will see the landing page you built. This allows you to keep all of your links integrated into your WordPress Website.
† Do not use Content Mask to embed any content that you do not own or do not otherwise have license to share, embed, frame, or distribute.
Simple 2-Step UI
With a simple 2-Step UI, you can embed any external content into your website without any complicated URL Forwarding, DNS Records, or
.htaccess rules to mess with.
Just enable the Content Mask on any Page, Post, or Custom Post type by clicking on the check mark.
Then put in the URL that contains the content you want to embed.
It’s that simple!
Powerful Embedding and Redirect Options
Using the Download method (default) will fetch the content from the Content Mask URL, cache it on your website, and replace the current page request with that content. By default, this cache lasts 4 hours – but it can be changed anywhere from “Never Cache” all the way up to “Cache for 4 Weeks”. Caching prevents the need for additional requests that slow down your site.
Using the Iframe method will replace the current page request with a full width/height, frameless iframe containing the host URL. This method is ideal if the URL you want to embed won’t serve scripts, styles, or images to other URLs or IP Addresses. If you use the Download Method, and links or images look broken, you can try the Iframe method instead.
Using the Redirect (301) method will simply redirect the visitor to the host URL.
Simple Integrated Vistor Tracking
In the Content Mask admin panel, you can enable tracking for Content Masked pages. This will allow you to see how many visitors are viewing these links. This is ideal for when you need to track acquisition, such as on a Landing Page.
- [Views] shows how many times that Content Mask page has been viewed by anybody (even logged in users)
- [Non-User] shows how many times it’s been viewed by visitors that are not logged in to the website.
- [Unique] shows how many times it’s been viewed by unique IP addresses. Note: IP addresses are one-way hashed and are not identifiable in any way.
Creating a Content Masked Page
Using the Content Mask Admin Panel
Do NOT use Content Mask on any content you aren’t explicitly authorized to share or use. Please confirm you’re allowed to utilize and embed the content before embedding any particular URL.
Content embedded using the Download method is cached using the WordPress Transients API for 4 hours by default. If the content on the external URL is updated and you would like a fresh copy, you may just click the “Update” button on the Page, Post, or Custom Post Type to refresh the transient, or click the “Refresh” link in the Content Mask Admin panel. You may also change the cache expiration timer per page anywhere from “Never” to “4 weeks”.
You may use the Transients Manager plugin to manage transients stored with the Download method. All Content Mask related transients contain the prefix “content_mask-” plus a stripped version of the Content Mask URL, such as “content_mask-httpxhynkcom”.
content-maskfolder to your
Activate the “Content Mask” plugin.
How to Use:
Edit (or Add) a Page, Post, or Custom Post Type.
Underneath the page editor, find the “Content Mask Settings” metabox.
Click the Checkmark on the left to enable Content Mask.
Paste a URL in the Content Mask URL field.
Choose a method: Download, Iframe, or Redirect (301).
Update (or Publish) the Page, Post or Custom Post Type.
That’s all! When a user visits that Page, Post or Custom Post Type, they will instead see the content from the URL you have put in the Content Mask URL field.