archi-strasbourg/archi-mediawiki-redirect

This package is abandoned and no longer maintained. No replacement package was suggested.

Script that redirects old Archi-Wiki URLs to new MediaWiki URLs

1.0.1 2018-02-07 21:11 UTC

This package is auto-updated.

Last update: 2024-02-10 04:26:41 UTC


README

Script that redirects old Archi-Wiki URLs to new MediaWiki URLs

Usage

Copy ArchiWiki's config.php at the root of the MediaWiki project.

Add these rules to MediaWiki's .htaccess:

RewriteRule adresse-(.+)-([0-9]+)\.html vendor/archi-strasbourg/archi-mediawiki-redirect/redirect.php?archiAffichage=adresseDetail&archiIdAdresse=$2 [QSA,L]
RewriteRule personnalite-(.+)-([0-9]+)\.html vendor/archi-strasbourg/archi-mediawiki-redirect/redirect.php?archiAffichage=evenementListe&selection=personne&id=$2 [QSA,L]