I produced a wordpress blog, but have to permit the customers to see your blog, only when they're being able to access the website utilizing an iframe that's on another site. Im treing to discover an answer with this, but couldnt develop any ideas.

Any ideas ?

Thanks Bruno

You can look into the parent URL in the IFrame.

So mysite.com comes with an iframe known as blog.somewhere.com

in blog.somewhere.com you look into the parent frame URL and when it's not mysite.com you redirect the consumer elsewhere (most likely to mysite.com frontpage)

Hope you may make it work

Add an additional query var towards the query string, then see if it is available inside your header.php file. Otherwise, display a mistake telling the consumer how you can see the site.