• I use a Cloaked redirect from http://dyn.com/dns/ to have the WordPress installation in a subdirectory of another web site. ( Cloaked within an iframe ) The WordPress site is working fine and login / logout works. However the only way to get to the WP-Admin pages was a ‘right click’ to open the page in a new window or new frame. This was a problem caused by iframe cloaking.

    A part of my solution was to configure a login redirect for login to the actual WordPress location and a logout redirect to the url that I want the visitors to use. Then I modified the login-with-ajax.js file to break out of the iframe cloake:

    if(data.redirect == null){
        window.location.reload();
      }else{
        //window.location = data.redirect;
        top.location.href = data.redirect;
      }

    Could this ‘Break out of iframe’ be added as an option in a future release?

    https://wordpress.org/plugins/login-with-ajax/

  • The topic ‘WordPress Cloaked from DynDNS’ is closed to new replies.