• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

Frame Redirect blocked?

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

Frodo Baggins

New Member
Joined
Aug 29, 2001
Location
City of Dreaming Spires
Simple question: I have a site on a work network which I'm required to set up with work info. To save time, I'd rather use my own personal blog (Wordpress), which is hosted on my own domain. Here, the templates and everything is already set up.

The thing is that frameset doesn't seem to be working (this is even stranger because I could have sworn it was working a few days ago).

I'm wondering what on earth could be the problem? Did the network admin sudden disable this option (though for what reason I've no idea).


Code:
<html>
<head>
<title>Me</title>

<frameset rows="100%">
  <frame src="http://apple.com">
</frameset>
<noframes>
  <body>Please follow <a href="http://www.maths.ox.ac.uk/">link</a>!</body>
</noframes>

</head>
</html>

At the moment, it always gives me a 404 error no matter what site I redirect to.

I've tried using this same code, but hosting the page on my own domain and it redirects no problem. There is definitely something up with the work-server. I can use more mundane ways of redirecting, but the problem is I don't want people at work to know about my personal home page.
 
Last edited:
I must say that frames are a thing of the past, and (slowly) tend to disappear. There are many reasons to that, some mentioned HERE.

But this does not answer your question. Your code works fine on my Apache server, so the network admin setting hypothesis sounds plausible. But then again, i have always been taught to NEVER EVER under any circumstances use frames, so my knowledge of them is quite limited.

You can, however, try to run a local instance of some server (easyphp is VERY easy), and verify that your page runs correctly. Then upload your *.html to the "official" server. If there are major visual differences, contact your network admin.

EDIT: apparently you edited your post while i was typing mine (and having dinner, and installing an air conditioner). If it works on your own server flawlessly, contact the other network's admin. Worse case scenario, s/he will be able to explain what is going wrong.
 
I've decided to switch gears and hosted the stuff on my own domain. Unfortunately, I have this problem. Can someone take a look?


Simple problem:

I have a site with domain http://www.mask.com

On the index page of this domain, I want to redirect to www.real.com while cloaking the URL. So I use this:

Code:
<html>
<head>
<title>Sob</title>

<frameset rows="100%">
  <frame src="http://real.com">
</frameset>
<noframes>
  <body>Please follow <a href="http://www.real.com">link</a>!</body>
</noframes>

</head>
</html>

This works fine.

On real.com, I want to link to real2.html, say, and I want this link cloaked as well. So I instead link to another page, mask2.html, which has the same code as above, but this time redirects to real2.html.

The whole point is I need to cloak ALL my links.

But when the link (to mask2.html) is clicked, I get a "Page not found" error. However, if I copy the exact address into my browser, it does what it's supposed to and goes to real2.html.

I had the impression that it had something to do with frames in frames. I've been trying different targets for my <a href> -- i.e. target="self" or target="_blank", but neither works.

Any idea?
 
Back