Skip to content
This repository has been archived by the owner on May 5, 2019. It is now read-only.
brunob edited this page Mar 5, 2013 · 8 revisions

.htaccess

Geodiv utilise des urls personnalisées de SPIP, voici les règles à ajouter à votre fichier .htaccess :

# urls geodiv
RewriteRule ^media([0-9]+)?$	spip.php?page=article&id_article=$1 [QSA,L]
RewriteRule ^cat([0-9]+)$		spip.php?page=rubrique&id_rubrique=$1 [QSA,L]
RewriteRule ^tag([0-9]+)$		spip.php?page=mot&id_mot=$1 [QSA,L]
RewriteRule ^auteur([0-9]+)$	spip.php?page=auteur&id_auteur=$1 [QSA,L]
RewriteRule ^ticket([0-9]+)$	spip.php?page=ticket&id_ticket=$1 [QSA,L]
RewriteRule ^album([0-9]+)$		spip.php?page=album&id_collection=$1 [QSA,L]
Clone this wiki locally