From 6d0971ff4cb082a890e285f36361bd0717842217 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 11 Jul 2004 07:19:22 +0000 Subject: - Added URL aliases for 'index.rdf' and 'rss.xml'. Google, Feedster and possibly other crawlers try fetching these frequently as can be seen from the watchdog logs. Made possible by the recent path module change. --- database/updates.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'database') diff --git a/database/updates.inc b/database/updates.inc index 5bd6279a9..d8c5ddc2f 100644 --- a/database/updates.inc +++ b/database/updates.inc @@ -64,7 +64,7 @@ $sql_updates = array( "2004-06-27" => "update_90", "2004-06-30" => "update_91", "2004-07-07" => "update_92", - "2004-07-10" => "update_93", + "2004-07-11" => "update_93", ); function update_32() { @@ -1158,6 +1158,8 @@ function update_93() { else { $ret[] = update_sql('ALTER TABLE {url_alias} DROP INDEX src'); } + $ret[] = update_sql("INSERT INTO {url_alias} (src, dst) VALUES ('node/feed', 'index.rdf')"); + $ret[] = update_sql("INSERT INTO {url_alias} (src, dst) VALUES ('node/feed', 'rss.xml')"); return $ret; } -- cgit v1.2.3