admin管理员组文章数量:1130349
Iframe is working fine for www.example, But its not working for www.example/my-account
I followed few tricks, Like: adding these codes:
remove_action( 'login_init', 'send_frame_options_header' );
remove_action( 'admin_init', 'send_frame_options_header' );
But still, it's showing the same error. Is there any proper solution in this case?
Iframe is working fine for www.example, But its not working for www.example/my-account
I followed few tricks, Like: adding these codes:
remove_action( 'login_init', 'send_frame_options_header' );
remove_action( 'admin_init', 'send_frame_options_header' );
But still, it's showing the same error. Is there any proper solution in this case?
Share Improve this question asked Dec 15, 2018 at 21:12 TazminurTazminur 11 bronze badge1 Answer
Reset to default 0I think that your web page is https (like: https://www.example/my-account) and the iframe was loaded via http. Try loading your web page in this way:
http://www.example/my-account
If the page is http, the iframe content must be http. That's why, you have to remove "s" from "https."
Iframe is working fine for www.example, But its not working for www.example/my-account
I followed few tricks, Like: adding these codes:
remove_action( 'login_init', 'send_frame_options_header' );
remove_action( 'admin_init', 'send_frame_options_header' );
But still, it's showing the same error. Is there any proper solution in this case?
Iframe is working fine for www.example, But its not working for www.example/my-account
I followed few tricks, Like: adding these codes:
remove_action( 'login_init', 'send_frame_options_header' );
remove_action( 'admin_init', 'send_frame_options_header' );
But still, it's showing the same error. Is there any proper solution in this case?
Share Improve this question asked Dec 15, 2018 at 21:12 TazminurTazminur 11 bronze badge1 Answer
Reset to default 0I think that your web page is https (like: https://www.example/my-account) and the iframe was loaded via http. Try loading your web page in this way:
http://www.example/my-account
If the page is http, the iframe content must be http. That's why, you have to remove "s" from "https."
本文标签: Iframe is not working for wwwexamplecommyaccount
版权声明:本文标题:Iframe is not working for www.example.commy-account 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1749093630a2314908.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论