...

View Full Version : Redirect & IFRAME question



PraetoR
02-22-2007, 12:18 PM
I have a website that consists of one some pages with an IFRAME. So some of pages of my site loads inside of the IFRAME. I'd like my visitors to be redireceted to main page when they type the IFRAME URL or they try to visit IFRAME page via search engine.

Is that possible?? Thanks.

BarrMan
02-22-2007, 12:24 PM
I'm not sure if I understood this correctly, but do you want to add a link to open outside the frame?
If so:

<a href="link_here.html" target="_parent">link</a>

PraetoR
02-22-2007, 12:40 PM
I'm not sure if I understood this correctly, but do you want to add a link to open outside the frame?
If so:

<a href="link_here.html" target="_parent">link</a>

Thanks BarrMan but I am not talking about that. I just want all visitors who type IFRAME URL (for example : www.website.com/IFRAME.htm) redirected to my main page ( www.website.com/mainpage.htm)

BarrMan
02-22-2007, 12:54 PM
Ahh, sorry.
I haven't quite understood it again.
You got an input text and when the user submits it, it'll check if it consists the word iframe in it and if it does, it will redirect to your main page?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum