Submit Your Article Forum Rules

Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: HELP! Organic listings point to interior frame only!

  1. #1

    HELP! Organic listings point to interior frame only!

    My site was built with frames, and we are stuck with them. The left hand outer frame contains our navigation menu, the upper frame, our company name and logo. The interior frame shows the content. G and Y organic listings always point to the interior page, leaving a visitor with no navigation, or name and logo.

    The question is: can a script be written (windows server) that can detect if a page being viewed is NOT in a frame, so it can "re-invoke" itself inside our framework?
    Accept Credit Cards Anywhere!
    Hidden Content

  2. #2

    Re: HELP! Organic listings point to interior frame only!

    I have a piece of code from LONG ago, which I "inherited" from a site which I purchased, the site having originally been made using frames. Frames are not a great idea these days as you probably know, but here is the code nevertheless:

    <SCRIPT LANGUAGE="JavaScript">
    <!--
    if (top == self) self.location.href = "index.html";
    // -->
    </SCRIPT>

    The above script goes in the <head> section of the web page(s) which form part of a frameset and it's purpose is to make any child frame display the full (parent) frameset (containing the child frames) as opposed to displaying only one child frame (which may look daft on its own). Obviously the parent frameset in this instance is called "index.html", so you'll need to change that part as appropriate. Give it a whirl; hope it still works after all this time!

    If it does work, you should find that even if Google sends someone to a child frame, it should pop the complete frameset up instead, which would make much more sense visually.

  3. #3
    WebProWorld MVP incrediblehelp's Avatar
    Join Date
    Jan 2004
    Posts
    7,463

    Re: HELP! Organic listings point to interior frame only!

    1. Why are you stuck with them?? Bite the bullet and start planning a solution to rid yourself of a framed website.

    2. You can also 301 redirect a URL to another URL. Have you considered this?

  4. #4

    Re: HELP! Organic listings point to interior frame only!

    By the way, I totally agree (as always!) with Incrediblehelp, but hope the script shown above suits for the interim.

  5. #5

    Re: HELP! Organic listings point to interior frame only!

    The real problem lies in directing the user to the page as it should be viewed. I think you could use .htaccess to redirect the user to the correct URL. This would work for the menu frame and the other frames you mention because you probably only have a couple of these but if you have a large number of content pages it could get tedious.

    You might also want to look here to solve the problem for iFrames:
    Force Page into an Iframe

    or here for frames:
    HotScripts.com :: JavaScript :: Windows and Frames :: Force Page To Open In Frameset Script
    Hidden Content
    Any Document --> Any Time!
    Web Site Copy Editing & Proofreading

  6. #6
    Junior Member
    Join Date
    Jun 2007
    Posts
    28

    Re: HELP! Organic listings point to interior frame only!

    Seriously why don't you start again, a bit of javascript is only a bandaid fix.

    Set up a new css layout, all your links will be on the one page, google will see them, who knows what's happening now? it must be a mess for the bots to see the full potential of your site.

    If you already have OK search results, IMO changing to a css layout is probably the best SEO you could do right now, I'm sure your results would imporve.

    There's a heap of css layout template sites out there, if you have a huge site, just start on the pages which rank.
    Kakadu Nat Park in Australia has man eating crocodiles and 20000 year old rock paintings, see it by 4WD Hidden Content

  7. #7
    Senior Member DrTandem1's Avatar
    Join Date
    Oct 2003
    Posts
    1,796

    Re: HELP! Organic listings point to interior frame only!

    Double post
    DrTandem's San Diego Web Page Design, drtandem.com

  8. #8
    Member
    Join Date
    Jun 2007
    Posts
    49

    Re: HELP! Organic listings point to interior frame only!

    Right now you are pedaling a trike in the indy 500. You may think it will cost too much to get off the trike and into a car but you are losing more ground than you know. Yes bite the bullet and redesign the site without frames.
    There is a time for every purpose under heaven.Hidden Content
    Hidden Content Hidden Content

  9. #9
    WebProWorld MVP Orion's Avatar
    Join Date
    Sep 2003
    Location
    Halton Hills, Ontario
    Posts
    707

    Re: HELP! Organic listings point to interior frame only!

    I have had many clients come to me with older frame build sites, which we have unframed, and they've been way better for it in the SERPs and for many other reasons too.

    Here's your original site index page...
    <frameset framespacing=0 border=0 rows=89,71* frameborder=0>
    <frame name=banner scrolling=no noresize target=contents src=mainlogo.htm marginwidth=0 marginheight=0>
    <frameset cols=145,102*>
    <frame name=_toc target=main src=maintoc.htm scrolling=no marginwidth=0 marginheight=0 noresize>
    <frame name=main src=home.htm scrolling=auto noresize marginwidth=0 marginheight=0 target=_self>
    </frameset>

    Now if you are on a linux server you can use a .htaccess file to allow the server to parse server side includes for .htm (or whatever extensions your site is now)...

    Then do this...

    <!--#include virtual="/mainlogo.htm" -->
    <!--#include virtual="/maintoc.htm" -->
    <div id="content">
    <p>content from home.htm goes here OR include the home.htm page (only for index rest of pages actually copy paste the content into this area then name the new page what the old frame was called.</p>
    </div>

    do that for each page .. done your site doesn't rely on frames anymore...

    Once you're frameless you're off to the races anytime you want you can redesign very easily.

    You can change the names of the files for the header / nav also..

  10. #10
    WebProWorld MVP edhan's Avatar
    Join Date
    Aug 2003
    Posts
    895

    Thumbs up Re: HELP! Organic listings point to interior frame only!

    Quote Originally Posted by incrediblehelp View Post
    1. Why are you stuck with them?? Bite the bullet and start planning a solution to rid yourself of a framed website.

    2. You can also 301 redirect a URL to another URL. Have you considered this?
    Agreed with incrediblehelp. Get yourself out of frame for a long term benefits.
    Find Out More About Hidden Content | Hidden Content | Exploring, Hidden Content With Friends, Colleagues And Family Members In Relationships & Careers... Do you want a better lifestyle? Check it out today!

Similar Threads

  1. Google organic listings - including an image!
    By seiretto in forum Google Discussion Forum
    Replies: 7
    Last Post: 12-06-2007, 02:20 PM
  2. Differentiate Paid vs Organic Listings?
    By phunklord in forum Search Engine Optimization Forum
    Replies: 4
    Last Post: 10-04-2005, 04:23 PM
  3. Penalised in Google for Affiliates in organic listings?
    By NakedLogic in forum Search Engine Optimization Forum
    Replies: 0
    Last Post: 02-24-2005, 06:34 PM
  4. Organic Listings - Day 1, 1:30 PM (EST)
    By Garrett in forum Insider Reports
    Replies: 7
    Last Post: 12-13-2003, 09:12 AM
  5. Keyword impressions and Organic Listings
    By huskers in forum Search Engine Optimization Forum
    Replies: 0
    Last Post: 12-12-2003, 05:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •