Forum Moderators: mack

Message Too Old, No Replies

Redirecting: I gotta break out of these frames!

This dumb website has frames

         

SulkyGirl

7:09 pm on Aug 19, 2003 (gmt 0)

10+ Year Member



So, when I first started my website, I very stupidly bought this package deal from a company along with a very good domain name (http://www.widgetsaregood.com). Unfortunately, I only realized later that you can't customize your pages AT ALL through their service, you have to use their hideous templates and all you can do is enter text and little snippets of html. I can't changed the name servers, I can't do anything with it except type in these little snippits.

SO, I now have a full-fledged website at [widgets.com...] and I want to redirect any accidental visitors to the old one to the new one. But the retarded old website has two places for me to enter the meta refresh tag: in the text box in the top frame or in the bottom frame. How do I get visitors to my new site, NO FRAMES INCLUDED? Thanks!

I know there's a javascript way to do this, but I have really no understanding (yet!) of how to write that code...

claus

7:22 pm on Aug 19, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld SulkyGirl :)

Put this anywhere:

<script type="text/javascript">window.location.href="http://www.widgets.com/"</script>

and this in the meta-block (the top one)

<META HTTP-EQUIV=Refresh CONTENT="1; URL=http://www.widgets.com/">

and this in the body text:

Site moved: <a href="http://widgets.com/">CLICK HERE FOR THE NEW SITE</a>

/claus

rogerd

7:27 pm on Aug 19, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Hi, SulkyGirl, welcome to WebmasterWorld. I just moved a client away from one of these setups. We just created a site at a different (normal) host, and then fought with the old host until they gave us control of the domain. They had conveniently registered the domain in their own name - owner and all contacts. Dealing with them was very difficult. Our client was NOT happy when he found out he didn't own his own domain! Fortunately, we managed to get things squared away.