HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/firetech.komma.pro/routes/oldRoutes.php
<?php

// Redirect old routes
$location = '';
switch(Request::path())
{
    case 'cursussen':
        $location = 'opleidingen';
        break;
    case 'opleidingen/opleiding-aed-reanimatie':
        $location = 'opleidingen/opleiding-reanimatie-en-aed';
        break;
    case 'opleidingen/opleiding-bhv':
        $location = 'opleidingen/opleiding-bedrijfshulpverlening';
        break;
    case 'opleidingen/opleiding-bhv-herhaling':
        $location = 'opleidingen/herhaling-bedrijfshulpverlening';
        break;
    case 'opleidingen/opleiding-vca':
        $location = 'opleidingen/vca-opleidingen';
        break;
    case 'producten/accessoires':
        $location = 'producten/diverse';
        break;
    case 'cms_08':
        $location = '';
        break;
    case 'swf/onder.swf':
        $location = '';
        break;
    case 'html/controle.html':
        $location = 'onderhoud';
        break;
    case 'html/informatie.html':
        $location = 'over-ons';
        break;
    case 'html/opleidingen.html':
        $location = 'opleidingen';
        break;
    case 'html/producten_ehbokoffers.html':
        $location = 'producten/verbanddozen';
        break;
    case '/cms/index.php?page=producten_noodverlichting':
        $location = 'producten/noodverlichting';
        break;
}
// Redirect to new location
if( ! empty($location))
{
    header('location: /' . $location, true, 301);
    exit;
}