Mobile app version of vmapp.org
Login or Join
Berryessa370

: Site showing up in an iframe, how to get rid of it? I have a client I installed a WordPress site. I went to try to log in and install a new security plugin, and the site is being displayed

@Berryessa370

Posted in: #Iframe #Wordpress

I have a client I installed a WordPress site. I went to try to log in and install a new security plugin, and the site is being displayed in an iframe. When I navigate to sub pages, the page URL no longer displays in the URL bar of the browser. I've tried Chrome and Firefox (I'm on a Mac), and none of my other WordPress installs are having this problem.

The login page for the site doesn't display at all, just a blank page with no content and an error message in the console that says "Refused to display 'login page name' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'." I have installed WordPress in a sub directory rather than in the site root, but I set all of my installs up this way.

How do I find out where this iframe is coming from? My desired end result is to get rid of it entirely.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Berryessa370

2 Comments

Sorted by latest first Latest Oldest Best

 

@Speyer207

As I mentioned in my comment, this behavior was the result of attempting to log in to the site at an address that was parked on the site, rather than at the main URL of the site. Thanks for the assistance and apologies for the confusion.

10% popularity Vote Up Vote Down


 

@Dunderdale272

Your page code consists entirely of:

<html>
<head><title>DOMAIN.COM</title><meta name="keywords" content=""</head>
<frameset rows="100%", *" border="0" frameborder="0"><frame src="http://domain.com" name="DOMAIN.COM"></frameset>
</html>


This is loading the non-www version of the site as an iframe within the www version. It's not even doing that 100% correctly as the Meta Keywords tag isn't closed.

You need to check with both your hosting provided & domain provided to determine if one or the other is doing this. As mentioned in the comments, this is often called a "framed redirect" or "redirect with masking".

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme