\MultilingualOldPageRedirector
Synopsis
class MultilingualOldPageRedirector
extends Extension
{
- // methods
- public void onBeforeHTTPError404()
- public static string|boolean find_old_page()
Hierarchy
Extends
- Extension
Methods
public
- find_old_page() — Attempt to find an old/renamed page from some given the URL as an array
- onBeforeHTTPError404() — On every URL that generates a 404, we'll capture it here and see if we can find an old URL that it should be redirecting to.