Specialty Forums
Security and Virus
General Hardware
CPUs/Overclocking
Networking
Digital Photo/Video
Office Software
PC Gaming
Console Gaming
Programming
Database
Web Development
Digital Home

General Forums
Windows XP
Windows Vista
Windows 95/98
Windows Me
Windows NT
Windows 2000
Win Server 2008
Win Server 2003
Windows 3.1
Linux
PDAs
BeOS
Novell Netware
OpenVMS
Solaris
Disk Op. System
Unix
Mac
OS/2

Drivers
Driver Scan
Driver Forum

Software
Automatic Updates

BIOS Updates

My Computing.Net

Solution Center

Free IT eBook

Howtos

Site Search

Message Find

RSS Feeds

Install Guides

Data Recovery

About

Home
Reply to Message Icon Go to Main Page Icon

HTML Frames and Google crawling

Original Message
Name: Doug52392
Date: December 28, 2007 at 07:40:59 Pacific
Subject: HTML Frames and Google crawling
OS: Linux
CPU/Ram: n/a
Model/Manufacturer: n/a
Comment:
Hi, I recently changed the homepage for my web site (runs on Apache), and used frames to divide the page into a navigation bar and the site. However, now Google's crawler does not see the site anymore. If I browse the cached version of the site, I see a blank page. Additionally, since it does not see the index page anymore, I had it set to follow the index page for indexing, so it no longer indexes any other pages. I've heard Google is incompatible with frames, is this true? If so, is there a workaround?

Report Offensive Message For Removal


Response Number 1
Name: Michael J (by mjdamato)
Date: December 28, 2007 at 11:59:39 Pacific
Subject: HTML Frames and Google crawling
Reply: (edit)
Well, personally I think frames are a very poor implementation choice. You can always get the same effect using DIVs. But, I am assuming you are using frames because you are using static HTML pages as opposed to pages created server-side (i.e. PHP, ASP, etc) and you don't want to have to re-code the menus and other content that does not change on each and every page.

I would say if you can, use a server-side solution and create the menu's once and include them on each page where appropriate.

If that is not an option then see if your server supports server-side includes. you can use these with regular HTML files. Then you can create a single file for your menu and include it in each page.

If that is not an option or you really want to use frames I can think of one possibility (I have not tested these).

Have all your links point to the "content" files and not the frame page. Then use javascript to make the page load into frames (do a search for "javascript force frames"). I would think that google spiders would not process the Javascript and would instead index the content page. Of course this means any visitors w/o JavaScript enabled wil have problems.

Basically, frames suck!

Michael J


Report Offensive Follow Up For Removal

Response Number 2
Name: jpw
Date: December 28, 2007 at 15:45:38 Pacific
Subject: HTML Frames and Google crawling
Reply: (edit)
Quoted from Google Webmaster Guidelines

"Use a text browser such as Lynx to examine your site, because most search engine spiders see your site much as Lynx would. If fancy features such as JavaScript, cookies, session IDs, frames, DHTML, or Flash keep you from seeing all of your site in a text browser, then search engine spiders may have trouble crawling your site."

jpw


Report Offensive Follow Up For Removal

Response Number 3
Name: John Raul II Joven
Date: January 1, 2008 at 02:47:35 Pacific
Subject: HTML Frames and Google crawling
Reply: (edit)
My advice is to avoid using frames. Like what Michael explained, use DIV tags instead. You'll get better SEO with that.

anmjoven


Report Offensive Follow Up For Removal




Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: HTML Frames and Google crawling

Comments:

 
  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 


Data Recovery Software




My PC has been hijacked!

Lexmark 2600 Printer Issues

btk1w1 infected start here post

Unwanted message remians on screen

Slow boot time


The information on Computing.Net is the opinions of its users. Such opinions may not be accurate and they are to be used at your own risk. Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE

All content ©1996-2007 Computing.Net, LLC