Forum Moderators: open

Message Too Old, No Replies

Website using frames! what is SE approach

will google ban my website?

         

deepinweb

7:18 pm on Jul 7, 2006 (gmt 0)

10+ Year Member



I've designed a website using frames.
left side- menu
right side-content

in search engine results pages with content appear.
following script redirect them to parent frame

<script>
if (parent.location.href == self.location.href){
// change the url below to the url of the
// frameset page...
window.location.href = 'index.html'
}
</script>

Is this allowed?
All SE say avoid redirects.

parent frame holds menu & page1
from page1 other pages 2,3,4.... are accessible

but for certain keywords page 4,5... appears in SE results
upon clicking them user is redirected to parent frame ( which holds menu & page1 )

for example SE shows www.domain.com/widgets/red_widgets.html
and user is redirected to www.domain.com/widgets/

so user is forced to see page 1 though SE is showing page 4 or 5 ..

can my competitors report this as abuse?

will google ban my website?

deepinweb

8:22 pm on Jul 9, 2006 (gmt 0)

10+ Year Member



experts! Plz help me before i get kicked out of google :-(

tedster

10:13 pm on Jul 9, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Instead of using a script that sends everyone to the original frameset configuration, here's one that will frame the exact page originally requested:

[webmasterworld.com...]

See my post called
FORCE MANY PAGES INTO FRAMES
with one simple script

By the way, I've never seen anyone get into search engine trouble with this kind of CONDITIONAL redirect (based on a "if") for a page that should be framed. Neither your original approach or the one on the thread I linked to.

However, to avoid having any duplicate url troubles, I suggest adding a meta robots noindex tag to the master.html file or even placing it in your robots.txt file.

[edited by: tedster at 10:15 pm (utc) on July 9, 2006]

piskie

10:30 pm on Jul 9, 2006 (gmt 0)

10+ Year Member



I used this script that Tedster came up with on a site that was already built in frames. it worked well then and still does. The site gets top 10 for it's 5 most important Search Terms by using this reload as it was designed to be used. Google indexes the content of each page and returns it in the SERPs on merit.

deepinweb

7:56 pm on Jul 10, 2006 (gmt 0)

10+ Year Member



Thanks guys for the reply
I was so unsure about how google will treat such redirects.
Now i can sleep happily :-)