开发者

Odd - page shows up blank inside an iframe. Why?

开发者 https://www.devze.com 2023-04-10 13:57 出处:网络
I am trying to set up a web-based control panel for some hosting customers that use WordPress. As you probably know, the URL for administrating a WordPress site is http://domain.com/wp-admin.For exam

I am trying to set up a web-based control panel for some hosting customers that use WordPress.

As you probably know, the URL for administrating a WordPress site is http://domain.com/wp-admin. For example:

http://minutebookreview.com/wp-admin (this is just a random blog)

Now, look what happens when I try to load this page inside an iframe using this code:

<iframe width=640 height=480 src="http://minutebookreview.com/wp-admin"></iframe>

You'd think this开发者_开发问答 would work, right?

Well, have a look for yourself:

http://jsfiddle.net/A4MxE/

The page simply shows up blank inside the iframe. The wp-admin login page won't load.

Anyone know why this is happening? It doesn't make any sense to me.


Here is what I saw. It seams wordpress just dosen't like you.

Odd - page shows up blank inside an iframe. Why?

0

精彩评论

暂无评论...
验证码 换一张
取 消