Computing.Net > Forums > Web Development > HTML Frames and Google crawling

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

HTML Frames and Google crawling

Reply to Message Icon

Name: Doug52392
Date: December 28, 2007 at 07:40:59 Pacific
OS: Linux
CPU/Ram: n/a
Product: 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?



Sponsored Link
Ads by Google

Response Number 1
Name: Michael J (by mjdamato)
Date: December 28, 2007 at 11:59:39 Pacific
Reply:

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


0

Response Number 2
Name: jpw
Date: December 28, 2007 at 15:45:38 Pacific
Reply:

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


0

Response Number 3
Name: John Raul II Joven
Date: January 1, 2008 at 02:47:35 Pacific
Reply:

My advice is to avoid using frames. Like what Michael explained, use DIV tags instead. You'll get better SEO with that.

anmjoven


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: HTML Frames and Google crawling

Resize a frame, and load a page www.computing.net/answers/webdevel/resize-a-frame-and-load-a-page/3489.html

HTML Frames (Scroolonly on low res) www.computing.net/answers/webdevel/html-frames-scroolonly-on-low-res/909.html

Frame - Page Title www.computing.net/answers/webdevel/frame-page-title/215.html