WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] iframe login - redirect to the parent page (6 posts)

  1. vasheck
    Member
    Posted 6 years ago #

    hi!

    I've created a static homepage (.html) with an iframe that displays the wp login box. now, I'm stuck trying to figure out how to redirect from the iframe (login) to the parent page after login.

    So far, when I login, the 'dashboard page' is displayed inside the iframe.

    any help is appreciated. thanks!

  2. kohaku
    Member
    Posted 6 years ago #

    Maybe you could say away from iframes and use the parent page as the landing for your site with a link to the login area. This would eliminate the dashboard area in the iframe, but once you log in, you'd still see the dashboard. If the people logging in besides you are only subscribers, then I don't believe they can really do anything besides leave comments.

  3. vasheck
    Member
    Posted 6 years ago #

    thanks for the suggestion but that doesn't really solve my problem... I need to have a login on the homepage... not just a link to a login page...

  4. kohaku
    Member
    Posted 6 years ago #

    I guess I don't understand the necessity of having the login being the first page you see.

    If you already are using a login on the static page, perhaps you could take it out of the iframe.

  5. Alex Cragg
    Member
    Posted 6 years ago #

    There are already a lot of solutions to this.
    The one I've used before is here
    And remember, google is your friend.

  6. vasheck
    Member
    Posted 6 years ago #

    I found a solution to my problem... I typed target="_blank" at the wrong spot...

    <form name="loginform" id="loginform" action="wp-login.php" method="post" target="_blank">

    thanks for your help!

Topic Closed

This topic has been closed to new replies.

About this Topic