Allow site iframing
This module allows your Drupal site to be embedded within iframes, overriding Drupal's default security setting that prevents this. You can configure specific paths to either allow or deny iframe embedding.
Summary
Drupal 8+ has a feature built into core that stops the site from being rendered within an iframe, there are good reasons for this - https://www.drupal.org/node/2514136
But sometimes you want your site in an iframe, so that's what this module does, based on configured paths (whitelist / blacklist).
Requirements
- None beyond core
Configuration
- /admin/config/system/allow_iframed_site Enter paths you want to allow or deny iFrames access to.
Similar modules
- https://www.drupal.org/project/x_frame_options
- https://www.drupal.org/project/seckit
- https://www.drupal.org/project/http_response_headers
In contrast to this module, they are typically not path-based, but provide further functionalities. That's the main difference.
Credits
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 3.0.4 | Stable | 10–11 | Jul 28, 2025 |