Skip to content

Commit faf6fae

Browse files
committed
Fix URL, which google has gotten wrong for some odd mysterious reason
1 parent acc4978 commit faf6fae

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

error.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,12 @@
177177
mirror_redirect("https://github.com/php/php-src/issues/" . $matches[1]);
178178
}
179179

180+
// php.net/supported-versions.PHP -> supported-versions.php
181+
if ($URI == 'supported-versions.PHP') {
182+
mirror_redirect("https://www.php.net/supported-versions.php");
183+
}
184+
185+
180186
// ============================================================================
181187
// Redirect if the entered URI was a PHP page name (except some pages,
182188
// which we display in the mirror's language or the explicitly specified

0 commit comments

Comments
 (0)