Dumb SEO Questions

(Entry was posted by Steve K on this post in the Dumb SEO Questions community on Facebook, Tuesday, August 25, 2015).

iFrame and SEO

I have a site that has an application with pages that are in an iframe.  I want to set up a javascript redirect to the parent page so if the window = top it will direct the page to the parent page with the iframe and then load the child page into it.  I was curious about how this practiice effects SEO.  The reason I want the child pages in an iframe is because I want to set up a webmasters frame to let  people embed my application to their site.  The parent page doesn`t really have anything on it except for menus and things like that so there will be no SEO value there.  Will the child pages still rank well even with the javacript redirect?

This question begins at 00:03:18 into the clip. Did this video clip play correctly? Watch this question on YouTube commencing at 00:03:18
Video would not load
I see YouTube error message
I see static
Video clip did not start at this question

YOUR ANSWERS

Selected answers from the Dumb SEO Questions G+ community.

  • Steve K: I have a site that has an application with pages that are in an iframe.  ;I want to set up a javascript redirect to the parent page so if the window = top it will direct the page to the parent page with the iframe and then load the child page into it.  ;I was curious about how this practiice effects SEO.  ;The reason I want the child pages in an iframe is because I want to set up a webmasters frame to let  ;people embed my application to their site.  ;The parent page doesn't really have anything on it except for menus and things like that so there will be no SEO value there.  ;Will the child pages still rank well even with the javacript redirect?
  • wahaj ali: Better to use Ajax Mootools ;
     ;
    It help you out in Removing iframe from your code ;
    also Help you to do auto redirection which will Definitly effect ;
    SEO ;
  • Edwin Jonk: If I understand you correct you have something of a widget. The code-snippet for the widget is structured in a iFrame. Something similar to the YouTube embed code-snippet. And you want to be able to insert a "go to top" button.

    The problem is the iFrame. What you can do is to make the code-snippet a javascript file. In this file you can load the iframe and you can put in other elements, like a "go to the top" button.

    For the "go to the top" you can use window.scroll [1]. Or, if you are using jQuery, you have ScrollTop [2] or animate() with the property ScrollTop [3], which gives you a little animation.

    [1] ;
    [2] ;
    [3] ;
  • Steve K: No what I am doing is making an application that uses page from my site and I want to create a webmaster frame for people to embed to their website.  ;But I dont want my menus and things like that to be in the webmasters frame so I was going to put a javascript redirect so if the window = top or in other words if it is not in an iframe it would automatically redirected to a page on my site with an iframe and load the pages content into that iframe so the pages would have my menus and other things but the pages could be used by other people to embed to their site as well.  ;So if a seach engine indexes te pages and they are linked to directly it would redirect to the parent page with the iframe and load the appropriate content.  ;Hopefully that makes sense.  ;I figured this would have a negative effect on SEO with an automatic redirect but wasn't sure.
  • wahaj ali:  ;Seriously other alternates Instead of using iframe for better SEO ;

View original question in the Dumb SEO Questions community on Facebook, Tuesday, August 25, 2015).