Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 04-25-2007, 02:19 PM   #1 (permalink)
Yek
 
T.F's Resident Cool Guy...

Join Date: Aug 2006

Posts: 1,625

Yek is on a distinguished road

Send a message via AIM to Yek Send a message via MSN to Yek Send a message via Yahoo to Yek Send a message via Skype™ to Yek
Default Redirect

hello i have page1.html
in page1.html is an iframe with page2.html
how can i automaticaly redirect the whole page (not just frame) from page2.html ,you can do this with meta refresh i know but this only works for the frame?
cheers guys (and girls)
Yek is offline  
Old 04-25-2007, 02:26 PM   #2 (permalink)
 
Monster Techie

Join Date: May 2004

Location: Tucson, AZ, USA

Posts: 1,183

Vormund

Send a message via AIM to Vormund Send a message via MSN to Vormund Send a message via Yahoo to Vormund
Default Re: Redirect

So you have the refresh working on the frame? Did you try putting that same code in the main page (which holds the frame(s))?
__________________
Vormund is offline  
Old 05-05-2007, 02:21 PM   #3 (permalink)
Yek
 
T.F's Resident Cool Guy...

Join Date: Aug 2006

Posts: 1,625

Yek is on a distinguished road

Send a message via AIM to Yek Send a message via MSN to Yek Send a message via Yahoo to Yek Send a message via Skype™ to Yek
Default Re: Redirect

Thats the thing, its on a free host thats got cloaking on , i just want to jump stright out of it and go to the new site but not by opening a new window , this can be done by using the _top target but i dont think you can use it for a redirect
Yek is offline  
Old 05-05-2007, 06:01 PM   #4 (permalink)
 
Banned

Join Date: Oct 2006

Posts: 81

williwaw

Default Re: Redirect

If you have .htaccess privileges you can use it to redirect to where ever you like.

Example 1

Example 2

Cheers,
Williwaw

williwaw is offline  
Old 05-06-2007, 06:20 AM   #5 (permalink)
Yek
 
T.F's Resident Cool Guy...

Join Date: Aug 2006

Posts: 1,625

Yek is on a distinguished road

Send a message via AIM to Yek Send a message via MSN to Yek Send a message via Yahoo to Yek Send a message via Skype™ to Yek
Default Re: Redirect

wont that just redirect what is inside the frame though?
Yek is offline  
Old 05-06-2007, 11:27 AM   #6 (permalink)
 
Banned

Join Date: Oct 2006

Posts: 81

williwaw

Default Re: Redirect

Quote:
Originally Posted by Tkey View Post
wont that just redirect what is inside the frame though?
It redirects the whole page because the .htacess resides in your root folder of your website. I would bet that you do not have access to the .htacess because it is a free hosting company. It is worth a shot though.

Cheers,
Williwaw
williwaw is offline  
Old 05-06-2007, 02:05 PM   #7 (permalink)
 
Monster Techie

Join Date: May 2004

Location: Tucson, AZ, USA

Posts: 1,183

Vormund

Send a message via AIM to Vormund Send a message via MSN to Vormund Send a message via Yahoo to Vormund
Default Re: Redirect

Quote:
Originally Posted by Tkey View Post
Thats the thing, its on a free host thats got cloaking on , i just want to jump stright out of it and go to the new site but not by opening a new window , this can be done by using the _top target but i dont think you can use it for a redirect
HTML _top - HTML Code Tutorial
Hmm, have you tried that just to see if it works? Probably not like you said, given the host wants their ads / name / etc abound. I'm not sure what they were - but there are some easy tricks to get around those, if you haven't found a solution already - I'll try to look when I get home.
__________________
Vormund is offline  
Old 05-07-2007, 06:11 AM   #8 (permalink)
Yek
 
T.F's Resident Cool Guy...

Join Date: Aug 2006

Posts: 1,625

Yek is on a distinguished road

Send a message via AIM to Yek Send a message via MSN to Yek Send a message via Yahoo to Yek Send a message via Skype™ to Yek
Default Re: Redirect

Its not free hosting , thats the great thing , just a cloaked domain
Yek is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
301 or 302 redirect? RitaM Search Engines & Internet Traffic 7 04-25-2007 07:29 AM