r22591 - htdocs/trunk - Test redirect configurations via .htaccess

Geert Janssens gjanssens at code.gnucash.org
Fri Nov 23 13:08:56 EST 2012

Author: gjanssens
Date: 2012-11-23 13:08:55 -0500 (Fri, 23 Nov 2012)
New Revision: 22591
Trac: http://svn.gnucash.org/trac/changeset/22591

Test redirect configurations via .htaccess

Modified: htdocs/trunk/.htaccess
--- htdocs/trunk/.htaccess	2012-11-22 21:26:41 UTC (rev 22590)
+++ htdocs/trunk/.htaccess	2012-11-23 18:08:55 UTC (rev 22591)
@@ -1,2 +1,19 @@
 DirectoryIndex index.phtml index.php index.html
 AddType application/x-httpd-php .phtml
+# Over time, files got moved around in the webdirectory
+# To provide users a consistent experience a number
+# of redirects are set up from obsolete locations
+# to the best-matching new locations. This will
+# reduce the number of "page not found" errors
+# users will get due to external sites linking
+# to obsolete locations.
+# The old website was kept here for historical purposes.
+# Any attempt to access it will be redirected to the
+# new site's main page.
+RedirectMatch permanent /old-website/* http://www.gnucash.org
+# Images were once stored in /externals, while they are now in /images
+# Redirect some that get a lot of "not found hits"
+Redirect permanent /externals/banner5.png /images/banner5.png
\ No newline at end of file

More information about the gnucash-changes mailing list