archi-strasbourg/archi-mediawiki-redirect

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: 2022-05-10 00:45:18 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]