Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Google's cache conceals our webpage

         

Whitey

5:59 am on Nov 30, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



When we reference the Google cache on our websites, we get a thin red line instead of being able to see the full cached page. Clicking on the "text" version will reveal the page in that version of the page OK.

I'm told this is due to the following line created by Google in their cache page:

<BASE HREF="http://www.example.com/Directory/">

In the website's code the stylesheets are absolutely referenced i.e.

<link rel="stylesheet" type="text/css" href="http://www.example.com/oursite.css">

<link rel="stylesheet" type="text/css" href="http://www.example.com/images/800_style_com.css">

I'm also told if these were changed to relative references it may fix the problem e.g.

<link rel="stylesheet" type="text/css" href="oursite.css">

<link rel="stylesheet" type="text/css" href="images/800_style_com.css">

Before we try it and wait for Google to respond [ with trial and error ] will this fix the problem?

[edited by: tedster at 6:10 am (utc) on Nov. 30, 2006]
[edit reason] use example.com [/edit]

tedster

6:13 am on Nov 30, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Problems like that are most often created by absolute positioning of page elementss, and not absolute urls. In fact the change you suggest will break your site's display from any internal directory.

I think you should ask for clarification from whoever is giving you input.