Re: Redirecting www.gnome.org/learn/ to library.g.o



Le mercredi 19 septembre 2007, à 20:15 +0200, Vincent Untz a écrit :
> Hi,
> 
> Is it okay to redirect all the pages under
> http://www.gnome.org/learn/
> to library.gnome.org?

Here's a patch for the htaccess. Of course, we'd have to remove the
learn subdirectory too. It's not committed yet.

Some comments:

 + we'll lose the PDF. I can put redirections to library.g.o, but I'm
   not sure it's better. It probably is better.

 + we'll also lose the "documentation in a single page" pages. Should I
   add redirects for them too?

 + we used to have a small intro documentation, but it really looks like
   the user guide, so I redirected it there.

Vincent

-- 
Les gens heureux ne sont pas pressés.
Index: www.gnome.org/htaccess
===================================================================
--- www.gnome.org/htaccess	(révision 5543)
+++ www.gnome.org/htaccess	(copie de travail)
@@ -17,11 +17,18 @@ RedirectMatch /friends/donors_2003.php$ 
 RedirectMatch /friends/donors_2002.php$ /friends/donors_2002.html
 
 # Learn
-RedirectMatch /learn/users-guide/latest/?(.*)$  /learn/users-guide/2.10/$1
-RedirectMatch /learn/access-guide/latest/?(.*)$ /learn/access-guide/2.10/$1
-RedirectMatch /learn/admin-guide/latest/?(.*)$  /learn/admin-guide/2.6/$1
-RedirectMatch /learn/intro/latest/?(.*)$        /learn/intro/2.2/$1
-RedirectMatch ^/intro/?(.*)$               	/learn/intro/2.2/$1
+RedirectMatch /learn/users-guide/latest/?(.*)$  http://library.gnome.org/users/user-guide/stable/$1
+RedirectMatch /learn/users-guide/2.(.+)/?(.*)$  http://library.gnome.org/users/user-guide/2.$1/$2
+RedirectMatch /learn/users-guide/gnome2.(.+)-user-guide.tar.gz http://library.gnome.org/users/user-guide/user-guide-html-2.$1.tar.gz
+RedirectMatch /learn/access-guide/latest/?(.*)$ http://library.gnome.org/users/gnome-access-guide/stable/$1
+RedirectMatch /learn/access-guide/2.(.+)/?(.*)$ http://library.gnome.org/users/gnome-access-guide/2.$1/$2
+RedirectMatch /learn/access-guide/gnome2.(.+)-access-guide.tar.gz http://library.gnome.org/users/gnome-access-guide/gnome-access-guide-html-2.$1.tar.gz
+RedirectMatch /learn/admin-guide/latest/?(.*)$  http://library.gnome.org/admin/system-admin-guide/stable/$1
+RedirectMatch /learn/admin-guide/2.(.+)/?(.*)$  http://library.gnome.org/admin/system-admin-guide/2.$1/$2
+RedirectMatch /learn/admin-guide/gnome2.(.+)-system-admin-guide.tar.gz http://library.gnome.org/admin/system-admin-guide/system-admin-guide-html-2.$1.tar.gz
+RedirectMatch /learn/intro/[^/]+/?(.*)$         http://library.gnome.org/users/user-guide/stable/
+RedirectMatch ^/intro/?(.*)$               	http://library.gnome.org/users/user-guide/stable/
+Redirect /learn/archived.html                   http://library.gnome.org/
 
 # Software Map
 RedirectMatch /applist/?.*$             /softwaremap/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]