Thursday, 15 May 2014

url - Iframe problems with my webpage -


I have some problems with my website, I am making a template called index.html (probably not smart) but now I have the following problem

When it goes directly to a site, it works right, but in Google it is a different story that Google directly displays the URL on my contact page.

When you click on the link, the template (http: // ............... nl / contact.php) Index.html) from contact.php Not opening. The only thing you see is that text

Is there anything to check if index.html is included and otherwise can add to the page?

Something like this: If (file_exists ('index.html')) contains '0' and (this includes 'index.html');

Or a redirect or something

Who can help me?

Redirect index.html if contact.php is not loaded in iframe.

In contact.php:

  & lt; Script & gt; If (window === window.top) location.href = 'index.html'; & Lt; / Script & gt;  

No comments:

Post a Comment