Dashboard

Embed Troubleshooting

Help with displaying publications on your website

Publication Not Displaying on Your Website?

If your publication appears in your website editor but disappears when you publish the page, your website may be blocking iframe embeds. This is a security setting in WordPress that some hosting providers enable by default.

Solution 1: Update wp-config.php (Recommended)

Recommended

This is the most common fix. You'll need access to your WordPress files via FTP or your hosting file manager.

  1. Log in to your hosting control panel or connect via FTP
  2. Navigate to your WordPress root folder (where WordPress is installed)
  3. Find and open the file called wp-config.php
  4. Look for this line:
    define( 'DISALLOW_UNFILTERED_HTML', true );
  5. If you find it, change true to false:
    define( 'DISALLOW_UNFILTERED_HTML', false );
  6. Save the file
  7. Go back to your website and re-add the embed code
If you don't see this line in your wp-config.php, the issue may be caused by a plugin (see Solution 2).

Solution 2: Check Security Plugins

Some security plugins block iframes. Check these common plugins:

  • Wordfence — Go to Wordfence → All Options → search for "HTML" or "iframe"
  • Sucuri — Check the hardening options
  • iThemes Security — Look for content filtering settings
  • All In One WP Security — Check firewall settings

Try temporarily disabling your security plugin, then re-add the embed code and publish. If it works, re-enable the plugin and look for a setting to allow iframes.

Solution 3: Contact Your Hosting Provider

Some hosting providers add security restrictions without telling customers. Contact your host and ask:

"Is DISALLOW_UNFILTERED_HTML enabled on my WordPress installation? I need to embed iframes and they are being stripped when I save pages."

Hosts known to sometimes enable this restriction:

  • IONOS
  • Cloudron
  • Some managed WordPress hosts

Still Having Issues?

Contact us at hello@publishrs.com and we'll help you get your publication displayed on your website.