function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Anne MooreAnne Moore 

Visual Force page to external URL not displaying

We have an existing VF page and tab that has a simple code that functions as expected:
<apex:page sidebar="false" controller="MobileController">
    <apex:iframe src="****URL****" frameborder="false" height="800px" scrolling="true"/>
</apex:page>

We are attempting to create a new VF page and tab to connect to another external URL, using the same code and just replacing the URL with the new one.  When we do this, there is nothing displayed on the tab.  We even attempted to use "http://www.google.com" and still the page is blank.   Can someone assist?
 
ShashankShashank (Salesforce Developers) 
Some sites like google, facebook, linkedin etc. block embedding in iframes. This cannot be worked around as they block it as a security measure.
Anne MooreAnne Moore
Ah ha....yes, that is our issue then.  The URL is blocked outside of our company's firewall, so that would be the exact problem.  thanks for your help!