|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r76060 - website/public_html/live/doc
From: grafikrobot_at_[hidden]
Date: 2011-12-19 00:30:08
Author: grafik
Date: 2011-12-19 00:30:03 EST (Mon, 19 Dec 2011)
New Revision: 76060
URL: http://svn.boost.org/trac/boost/changeset/76060
Log:
Change release docs redirect to be a temporary 303 ("See Other"). This should prevent crawlers (and browsers) from discounting the current release links and likely return them always first in search results.
Text files modified:
website/public_html/live/doc/.htaccess | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: website/public_html/live/doc/.htaccess
==============================================================================
--- website/public_html/live/doc/.htaccess (original)
+++ website/public_html/live/doc/.htaccess 2011-12-19 00:30:03 EST (Mon, 19 Dec 2011)
@@ -28,8 +28,8 @@
RewriteRule ^libs/development/libs/([^./]+)$ libs/development/libs/$1/ [R=301]
# Redirect from symbolic names to current versions.
-RewriteRule ^libs/release(/.*)?$ libs/1_48_0$1 [R]
-RewriteRule ^libs/development(/.*)?$ libs/1_48_0$1 [R]
+RewriteRule ^libs/release(/.*)?$ libs/1_48_0$1 [R=303]
+RewriteRule ^libs/development(/.*)?$ libs/1_48_0$1 [R=303]
# Rewrite specific versions to the dynamic handlers.
RewriteRule ^libs/([0-9_]+(?:beta[0-9]*|snapshot)?)/?$ libraries.php/$1 [L]
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk