Title: Non-WordPress Pages
Last modified: May 25, 2021

---

# Non-WordPress Pages

 *  Resolved [jas490](https://wordpress.org/support/users/jas490/)
 * (@jas490)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/non-wordpress-pages/)
 * Hi There-
    While the majority of my site is WordPress, there are pages I am creating
   outside of WordPress and hosting under the same domain. Is there any way I can
   add these pages or restrict access via Groups? Is there code I can add to the
   page, or something of that nature? Thank you in advance!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Tanue Eugen-Bleck Mbunwo](https://wordpress.org/support/users/eugenbleck/)
 * (@eugenbleck)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/non-wordpress-pages/#post-14483189)
 * Hi Jas,
 * Unfortunately, you can’t restrict pages outside WordPress.
 * Best,
    Eugen.
    -  This reply was modified 4 years, 11 months ago by [Tanue Eugen-Bleck Mbunwo](https://wordpress.org/support/users/eugenbleck/).
 *  Plugin Author [Kento](https://wordpress.org/support/users/proaktion/)
 * (@proaktion)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/non-wordpress-pages/#post-14502748)
 * Actually there is a way if you embed those external pages within pages that are
   handled by WordPress.
 * The way you could approach it is to use the Custom HTML block to render the content
   of the external page within an `iframe`:
 * `<iframe src="https://example.com/the-page-you-want-to-show" height="400"></iframe
   >`
 * Or if you’re not using blocks, you could simply add that in the classic editor
   using the Text tab.
 * You could protect the page that contains this block using Groups.
    You could 
   put that block within a Groups Member block – [https://docs.itthinx.com/document/groups/blocks/](https://docs.itthinx.com/document/groups/blocks/)
   You could surround the iframe code within [groups_member group=”…”]…[/groups_member]
   shortcode. Reference [https://docs.itthinx.com/document/groups/shortcodes/](https://docs.itthinx.com/document/groups/shortcodes/)
 * So you can’t protect access to the external page, but you can protect what’s 
   showing them.
 * Take into account that although the iframe rendering is protected, if you have
   a link to the external page you can simply visit that instead. So make sure to
   understand that your external pages are still not protected.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Non-WordPress Pages’ is closed to new replies.

 * ![](https://ps.w.org/groups/assets/icon-256x256.png?rev=983146)
 * [Groups](https://wordpress.org/plugins/groups/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/groups/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/groups/)
 * [Active Topics](https://wordpress.org/support/plugin/groups/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/groups/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/groups/reviews/)

## Tags

 * [access control](https://wordpress.org/support/topic-tag/access-control/)
 * [external](https://wordpress.org/support/topic-tag/external/)
 * [group](https://wordpress.org/support/topic-tag/group/)
 * [protect](https://wordpress.org/support/topic-tag/protect/)
 * [protection](https://wordpress.org/support/topic-tag/protection/)

 * 2 replies
 * 3 participants
 * Last reply from: [Kento](https://wordpress.org/support/users/proaktion/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/non-wordpress-pages/#post-14502748)
 * Status: resolved