Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Noindex iframed pages/content?

         

cookiemonster888

3:27 pm on Mar 23, 2015 (gmt 0)

10+ Year Member



I have a page "/money/formthingy.php" which sits in an iframe on a page where users submit a form.

This "/money/formthingy.php" page and couple of other html parts that sit in iframes on are showing in Google's SERP.

I dont't want Google to index these iframe parts as it's not good for the user if they click through from the serp to land on a partial bit of a page and not the page that utilities these iframe parts.

How can I best stop Google from indexing "/money/formthingy.php" and other iframe parts with out damaging the page in which they sit?


CookieMonster888

rainborick

4:27 pm on Mar 23, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Add a 'robots' <meta> tag set to "noindex" to any pages you don't want in the index that are loaded in your <iframe>s. Do not block them in your robots.txt file. Allow Google and the other search engines to continue to crawl these pages (at least until you've confirmed that they've been removed from the index) so that they'll see the 'robots' <meta> tag several times and it's clear that you really want them removed.

piatkow

10:59 am on Mar 24, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



There are also ways to detect if a page is opened directly into the browser and to redirect to the parent frameset. I don't know of these upset Google in any way.