<?php
// Method 1: Using PHP header() redirect
if ($_SERVER['REQUEST_URI'] === '/services2018' || $_SERVER['REQUEST_URI'] === '/services2018/') {
    header('Location: /services/', true, 301); // 301 Permanent Redirect
    exit();
}

// Method 2: Alternative using .htaccess (Apache)
// In .htaccess file:
// RewriteEngine On
// RewriteRule ^news/?$ /all-news/ [R=301,L]

// Method 3: Nginx configuration
// location ~ ^/news/?$ {
//     return 301 /all-news/;
// }
