External Domain Support for PDF viewer for WordPress

by | Last updated Nov 2, 2022 | WordPress | 0 comments

Hi Everyone, I hope all of you are doing well.  Today I will tell you how you can add support for External Domains to PDF viewer for WordPress. It means You can open pdf files from your Amazon s3, Dropbox or any other service.

I assume you’ve already checked our Plugin “PDF viewer for WordPress”.  If not, please check the plugin now as this post is to show you how you can add support for External Domains on PDF viewer for WordPress.


Many of our customers wanted to know if there is a solution for adding external domain support to show pdf files from any site.

There is a Cross Domain scripting issue, for why viewers can’t open pdf files from external Links. But if you need to show pdf from other sites, you can use this trick. Let’s know how to add support for External Domains on PDF viewer for WordPress.

Step 1:

Download the crossdomain.xml file from here

Step 2: 

Upload this file to the root of your server. Normally its called public_html or httpdocs or HTML 

Step 3:

Now you have added support for external domains. Put any pdf link to the viewer shortcode & it will work fine.

Please leave a comment or use our contact page if you have any questions or issues.

Buy a PDF viewer for WordPress Now!




Submit a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Posts

Check out our Plugins

TNC FlipBook - PDF viewer for WordPress is the best-selling premium PDF Reader plugin for WordPress on CodeCanyon (7500+ Sales) since 2014.

Shopify App that can transform images and PDF files to FlipBook on your Shopify store with just a few clicks.

Upload files for specific visitors and restrict them from others by controlling the access with this plugin.

Ready to use Webflow Templates by ThemeNcode with latest and trendy design. Check this out on Webflow Marketplace

Divi Modules, Child Themes, Layouts and many more. All built just for Divi. Make your website creation process easier with Divi.

Easily embed interactive FlipBooks by hosting your PDFs on our cloud platform. Enhance your website with engaging content today!.

Popular Post