Getting rid of iframes from Google search results

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tequilamala
    New Member
    • Aug 2007
    • 15

    Getting rid of iframes from Google search results

    I was having problems with google, when someone would search for one of my pages the iframe pages would pop up. So I attempted to fix this problem by adding the javascript below to all of my iframes. I had to do a bunch of stuff like putting my default page in the Pages folder because i couldn't get to the root directory with the script below. Now when you search and click on the results itll take you to the default.htm in the Pages folder but the back button on top isn't working properly(It works fine on Mozilla but doesn't work IE). Can anybody give me tips on what to do. I really dont wanna change the entire page to not have iframes, but i will if this is the only option.


    Code:
    <SCRIPT LANGUAGE="JavaScript"> 
    <!-- Begin 
    if (window == top) top.location.href = "default.htm"; 
    // End --> 
    </script>
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    Changed thread title to better describe the problem (did you know that threads whose titles that do not follow the Posting Guidelines actually get FEWER responses?).

    Comment

    • tequilamala
      New Member
      • Aug 2007
      • 15

      #3
      sorry for not following guidelines... do you have any advice for my situation?

      Comment

      Working...