Greetings,

I've seen lots of 404s in my logs from people using google cache. The problem (I think) is that the google cache specifies one base href (to the specific node) and drupal assigns a second base href (to the site root directory). If the browser is IE 6 , google's incorrect base href (node) is used. However, if the browser is a mozilla variant, the second (site root directory) base href is used. The bottom line is that for IE 6 users using google cache, the css and themes files are not found resulting in 404s and arse ugly pages.

I believe some of this was mentioned in www.drupal.org/node/13148 but I couldn't figure out if the problem was resolved. And I thought that the way the different browsers handle the situation was worth mentioning.

mitomac

Comments

kbahey’s picture

The last patch in that issue is fine for me.
You can apply it yourself
--
Consulting: 2bits.com
Personal: Baheyeldin.com

--
Drupal performance tuning and optimization, hosting, development, and consulting: 2bits.com, Inc. and Twitter at: @2bits
Personal blog: Ba

mitomac’s picture

Thanks kbahey, I just glanced over the patch (base_url_kill_0.patch) and saw some specific changes to the xtemplate theme engine.... Currently, I'm using drupal 4.5 and phptemplate engine. Do you know if this patch will work with phptemplate themes?

Thanks in advance,

mitomac

kbahey’s picture

As I recall, the patch is two parts. The part about the .inc file(s) applies to any theme.

The xtemplate part cannot be applied to phptemplate.

However, you can try to make similar changes to your template, or ask chx if he can make them for all of us.
--
Consulting: 2bits.com
Personal: Baheyeldin.com

--
Drupal performance tuning and optimization, hosting, development, and consulting: 2bits.com, Inc. and Twitter at: @2bits
Personal blog: Ba

chx’s picture

contact me. click on my user name and click contact. maybe you should enable this in your profile.

--
Drupal development: making the world better, one patch at a time. | A bedroom without a teddy is like a face without a smile.

rbrooks00’s picture

know the status of this getting added into 4.6 or is it too late for that?