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= [QSA,L] RewriteRule ^cat([0-9]+)$ spip.php?page=rubrique&id_rubrique= [QSA,L] RewriteRule ^tag([0-9]+)$ spip.php?page=mot&id_mot= [QSA,L] RewriteRule ^auteur([0-9]+)$ spip.php?page=auteur&id_auteur= [QSA,L] RewriteRule ^ticket([0-9]+)$ spip.php?page=ticket&id_ticket= [QSA,L] RewriteRule ^album([0-9]+)$ spip.php?page=album&id_collection= [QSA,L]

Clone this wiki locally