Phorum / Core

The core of Phorum
http://www.phorum.org
68 stars 33 forks source link

Phorum 5 (5.1.10 through 5.1.14) does not send "last-modified" HTTP header #328

Open Phorum opened 13 years ago

Phorum commented 13 years ago

Phorum does not set the "last modified" HTTP header on any pages (index or messages). This effectively prevents google (yahoo, etc.) from re-spidering the phorum, since after the first access they incorrectly believe that they have the most current version of the page.

Even the phorum on http://www.phorum.org doesn't send the last modified header... observe:

C:\download\lynx>c:\download\lynx\lynx -mime_header http://www.phorum.org/phorum 5/ HTTP/1.1 200 OK Date: Fri, 07 Jul 2006 16:26:39 GMT Server: Apache/1.3.34 (Unix) PHP/5.1.4 X-Powered-By: PHP/5.1.4 Connection: close Content-Type: text/html; charset=utf-8

<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XH TML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">

(rest of page deleted; not important...)

Reported by: TheKorn@TheKorn.net Imported from TRAC: http://trac.phorum.org/ticket/387

Phorum commented 13 years ago

That sounds like a good module for those that are worried about that. Phorum has never sent a last modified header. I personally have had no trouble with Google spidering my site's Phorum installs. They update quite frequently.

By: brian

Phorum commented 13 years ago

By: ts77

brianlmoon commented 13 years ago

Kind of changing my mind on this. This is not a module. The application should do it.