How do I prevent framed html pages from coming up in a Google search?

7 replies
How do I prevent framed html pages from coming up in a Google search?
I made a site with Dreamweaver that has frames and within those frames I have different html pages that load into them. I came across an extension once which I believe prevented those pages from coming up in Google searches but cannot relocate it. These pages are just bare text and should not be accessed by themselves
#coming #framed #google #html #pages #prevent #search
  • Profile picture of the author coog
    you could disallow the html files in question in robots.txt, other than that I can't think of another way to do it.
    {{ DiscussionBoard.errors[827521].message }}
  • Profile picture of the author wayfarer
    Place this tag at the top of the page which is being framed:
    HTML Code:
    <meta name="robots" content="noindex,nofollow">
    All major search engines will obey this request.
    Signature
    I build web things, server things. I help build the startup Veenome. | Remote Programming Jobs
    {{ DiscussionBoard.errors[827567].message }}
    • Profile picture of the author euclide
      Banned
      [DELETED]
      {{ DiscussionBoard.errors[828910].message }}
      • Profile picture of the author wayfarer
        Originally Posted by euclide View Post

        User-Agent: *
        Disallow: /404.html
        Disallow: /members-area/members.html
        Allow: /

        Where disallow would be the pages you don't want to be found from google
        Yes, that will work also.
        Signature
        I build web things, server things. I help build the startup Veenome. | Remote Programming Jobs
        {{ DiscussionBoard.errors[834905].message }}
    • Profile picture of the author Luckies
      Originally Posted by wayfarer View Post

      Place this tag at the top of the page which is being framed:
      HTML Code:
      <meta name="robots" content="noindex,nofollow">
      All major search engines will obey this request.
      it's always better to use only the robots.txt since some search engines will not respect the nofollow tag

      For all the details of robots.txt just visit robotstxt . org
      Signature
      Luckies
      {{ DiscussionBoard.errors[835038].message }}
      • Profile picture of the author wayfarer
        Originally Posted by Luckies View Post

        it's always better to use only the robots.txt since some search engines will not respect the nofollow tag
        Which search engines are you talking about? All of the major ones obey it. robots.txt is no different: it is technically optional and search engines are not forced to comply with it. It is just that they all got together and decided it is a good idea.
        Signature
        I build web things, server things. I help build the startup Veenome. | Remote Programming Jobs
        {{ DiscussionBoard.errors[835139].message }}
        • Profile picture of the author Luckies
          Hi wayfarer,
          I prefer not to post any search engine names in here, since they might have changed their policy.

          I'll PM you instead.

          edit:
          I still can not send Pms : )
          Signature
          Luckies
          {{ DiscussionBoard.errors[836073].message }}
  • Profile picture of the author jamesdd
    It's best to have the disallow command in your robots.txt file which all of the major engines read.
    {{ DiscussionBoard.errors[1576680].message }}

Trending Topics