diff --git a/ecrire/urls/html.php b/ecrire/urls/html.php
index e70e5347379d7b4346dd675bd374aff63a607118..ffa45e360a0290b1d680672828cd085b762b29d2 100644
--- a/ecrire/urls/html.php
+++ b/ecrire/urls/html.php
@@ -75,7 +75,7 @@ function generer_url_document($id_document, $args='', $ancre='') {
 
 // retrouver les parametres d'une URL dite "html"
 // http://doc.spip.org/@urls_html_dist
-function urls_html_dist($fond, $url) {
+function urls_html_dist(&$fond, $url) {
 	global $contexte;
 
 
@@ -92,12 +92,14 @@ function urls_html_dist($fond, $url) {
 		(isset($_ENV['url_propre']) ?
 			$_ENV['url_propre'] :
 			'');
-	if ($url_propre AND preg_match(',^(article|breve|rubrique|mot|auteur|site)$,', $fond)) {
+	if ($url_propre AND preg_match(',^(article|breve|rubrique|mot|auteur|site|type_urls)$,', $fond)) {
 		$url_propre = (preg_replace('/^[_+-]{0,2}(.*?)[_+-]{0,2}(\.html)?$/',
 			'$1', $url_propre));
-
-		$r = sql_fetsel("id_objet", "spip_urls", "url=" . _q($url_propre));
-		if ($r)	$contexte[id_table_objet($fond)] = $r['id_objet'];
+		$r = sql_fetsel("id_objet,type", "spip_urls", "url=" . _q($url_propre));
+		if ($r) {
+			$fond = ($r['type'] == 'syndic') ?  'site' : $r['type'];
+			$contexte[id_table_objet($fond)] = $r['id_objet'];
+		}
 	}
 	/* Fin du bloc compatibilite url-propres */
 }
diff --git a/ecrire/urls/page.php b/ecrire/urls/page.php
index 6d347382039c71931e81806f6c65d8346d778dee..35e770eb3ebd959818ad7221f155d6de24a95e55 100644
--- a/ecrire/urls/page.php
+++ b/ecrire/urls/page.php
@@ -118,11 +118,14 @@ function urls_page_dist(&$fond, $url) {
 	if (
 		 (isset($_SERVER['REDIRECT_url_propre']) AND $url_propre = $_SERVER['REDIRECT_url_propre'])
 	OR (isset($_ENV['url_propre']) AND $url_propre = $_ENV['url_propre'])
-	AND preg_match(',^(article|breve|rubrique|mot|auteur|site)$,', $fond)) {
-	  $url_propre = (preg_replace('/^[_+-]{0,2}(.*?)[_+-]{0,2}(\.html)?$/',
+	AND preg_match(',^(article|breve|rubrique|mot|auteur|site|type_urls)$,', $fond)) {
+		$url_propre = (preg_replace('/^[_+-]{0,2}(.*?)[_+-]{0,2}(\.html)?$/',
 			'$1', $url_propre));
-		$r = sql_fetsel("id_objet", "spip_urls", "url=" . _q($url_propre));
-		if ($r)	$contexte[id_table_objet($fond)] = $r['id_objet'];
+		$r = sql_fetsel("id_objet,type", "spip_urls", "url=" . _q($url_propre));
+		if ($r) {
+			$fond = ($r['type'] == 'syndic') ?  'site' : $r['type'];
+			$contexte[id_table_objet($fond)] = $r['id_objet'];
+		}
 	}
 
 	/* Fin du bloc compatibilite url-propres */
diff --git a/ecrire/urls/standard.php b/ecrire/urls/standard.php
index ae09272df70fbf2c56d895236c32082a547f1a05..9cf0e32fc6a92eaeccc24faf77bfe6b8e1f1e7d4 100644
--- a/ecrire/urls/standard.php
+++ b/ecrire/urls/standard.php
@@ -70,11 +70,14 @@ function recuperer_parametres_url(&$fond, $url) {
 		(isset($_ENV['url_propre']) ?
 			$_ENV['url_propre'] :
 			'');
-	if ($url_propre AND preg_match(',^(article|breve|rubrique|mot|auteur|site)$,', $fond)) {
+	if ($url_propre AND preg_match(',^(article|breve|rubrique|mot|auteur|site|type_urls)$,', $fond)) {
 		$url_propre = (preg_replace('/^[_+-]{0,2}(.*?)[_+-]{0,2}(\.html)?$/',
 			'$1', $url_propre));
-		$r = sql_fetsel("id_objet", "spip_urls", "url=" . _q($url_propre));
-		if ($r)	$contexte[id_table_objet($fond)] = $r['id_objet'];
+		$r = sql_fetsel("id_objet,type", "spip_urls", "url=" . _q($url_propre));
+		if ($r) {
+			$fond = ($r['type'] == 'syndic') ?  'site' : $r['type'];
+			$contexte[id_table_objet($fond)] = $r['id_objet'];
+		}
 	}
 	/* Fin du bloc compatibilite url-propres */
 
diff --git a/htaccess.txt b/htaccess.txt
index 2a62fcd1d81af5a681bad681dbd6c1f06e533d3c..91276f0c79d491d2727d30a9f6c4415bf1e5c18f 100644
--- a/htaccess.txt
+++ b/htaccess.txt
@@ -74,29 +74,13 @@ RewriteRule ^spip_rss\.php3?$	spip.php?action=rss [QSA,L]
 ###
 
 ###
-# URLs "propres" et "propres2"
-# pensez a regler $type_urls='propres' ou 'propres2'
-# dans ecrire/mes_options.php
-# (fichier associe : ecrire/urls/propres.php)
+# URLs "propres", "propres2", "libres", "arbo"
 
-RewriteRule ^[^/\.]+(\.html)?$		spip.php?page=type_urls [QSA,E=url_propre:$0,L]
+RewriteRule ^[^\.]+(\.html)?$		spip.php?page=type_urls [QSA,E=url_propre:$0,L]
 
 # Fin URLs "propres" et "propres2"
 ###
 
-###
-# URLs "arbo"
-# pensez a ajouter
-# $type_urls='arbo'
-# define('_SET_HTML_BASE',1); // si vos squelette sont en url relatives
-# dans ecrire/mes_options.php
-# (fichier associe : ecrire/urls/arbo.php)
-
-RewriteRule ^[^\.]+(\.html)?$           spip.php?page=type_urls [QSA,E=url_propre:$0,L]
-
-# Fin URLs "arbo"
-###
-
 ###
 # Divers