Iframe with my domain as source does not load. How to solve this?

2

I placed the% iframe% in an html file inside the domain itself and then put it inside another domain. The result is that my url does not load in any of the domains I've tested.

Incidentally, the Google url also does not load ( <iframe src="http://axitech.com.br"></iframe>).ThesystemintheaxitechurlisWordpress.

Doesanyonehaveanyideas?

Test URL works.

Test URL does not work.

    
asked by anonymous 30.05.2015 / 15:18

1 answer

2

It will not be possible to display the page that you because the server on which it is hosted is sending the following header :

X-Frame-Options: SAMEORIGIN

While this header is being sent, it will not be possible to use it in an iframe. If you have contact with the site admin, you can ask to add:

ALLOW-FROM uri

Where uri would be your page would be allowed to use the iframe.

Read more about X-Frame-Options at: link

    
30.05.2015 / 16:02