Created
December 2, 2017 03:39
-
-
Save HostOnNet/8d555157ca874691f4f8bf276be5b9ee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Edited file | |
engine/Library/Enlight/Controller/Dispatcher/Default.php | |
On line number 448, added | |
$requestUrl = $_SERVER['REQUEST_URI']; | |
$requestUrlEnd = substr($requestUrl, -1); | |
if ($requestUrlEnd != "/") { | |
Header("Location: https://maxpots.eu" . $requestUrl . "/"); | |
exit; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment