Welcome to WebmasterWorld Guest from 54.205.209.95

Forum Moderators: open

Message Too Old, No Replies

Noframes area text

Troubles getting Index pages with frames indexed by AV

   
12:44 pm on Oct 12, 2000 (gmt 0)

10+ Year Member



AV seems not to index the actual index page, but the page used in the main frame of the index page. The content in the noframes area of the index page is very similar to the body text of the page used in the main frame. Has anyone any suggestions or comments on how to get around this problem?
3:15 pm on Oct 12, 2000 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to Webmaster World Richard!

I did a search for your domain name on AV and it looks like they have your index page along with page inside the frame listed (the index is just listed as your domain name). AV just updated at the beginning of the week so it probably showed up then.

7:05 pm on Oct 12, 2000 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Welcome Richard.

You said:
>>AV seems not to index the actual index page, but the page used in the main frame of the index page.<<

First off, it's certainly better from a search engine POV not to use frames -- I've learned this from some hard experience. However, if frames are unavoidable for some reason, here's some comments.

One way around this is a small javascript function associated with the "framed" content page. The code should look something like this:

if (parent == self) location.replace("frameset.html");

Since this is a kind of redirect, care should be taken not to incur the wrath of the SE redirect gods.

1) It's best to call this function from an external .js file so spiders do not see the redirect code.

2) Unless compatibility with version 3 browsers is important, use replace() rather than simply defining a new location. This will keep the browser history list intuitive and avoid letters of complaint to Alta that the back button gets stuck in a loop.

3) If you have more than one content page which can be loaded in a frame, you would need to set up a separate js and a separate frameset for each one, else everyone will get sent to the top level content, no matter which page the search engine refered them to.

Hope that helps.