Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Feb 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Redirect & IFRAME question

    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.

  • #2
    Senior Coder BarrMan's Avatar
    Join Date
    Feb 2005
    Location
    Israel.
    Posts
    1,644
    Thanks
    69
    Thanked 83 Times in 82 Posts
    I'm not sure if I understood this correctly, but do you want to add a link to open outside the frame?
    If so:
    Code:
    <a href="link_here.html" target="_parent">link</a>

  • #3
    New to the CF scene
    Join Date
    Feb 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by BarrMan View Post
    I'm not sure if I understood this correctly, but do you want to add a link to open outside the frame?
    If so:
    Code:
    <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)

  • #4
    Senior Coder BarrMan's Avatar
    Join Date
    Feb 2005
    Location
    Israel.
    Posts
    1,644
    Thanks
    69
    Thanked 83 Times in 82 Posts
    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?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •