Posted inCode base
Redirect old URL to new URL or send 404 page with PHP
Use a PHP redirect script to redirect old PHP URLs to new ones. This examples uses a 301 Moved Permanently redirect, perfect for SEO.
Code base for PowerShell scripting, PHP, ASP/VBScript, ASP.NET/C#, ASP.NET Core, Perl, code snippets and examples. Snippets are small pieces of reusable code.