Fix redirect
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Yarmo Mackenbach 2020-06-21 00:35:21 +02:00
parent f2f6293357
commit 17785b8d27

View File

@ -130,7 +130,7 @@ if ($match['name'] == 'notes') {
// If we are dealing with a post (old format)
if (($match['name'] == 'blog_post') || ($match['name'] == 'notes_post')) {
header('Location: '.$_SERVER['SERVER_NAME'].$match['params']['slug']);
header('Location: https://yarmo.eu/post/'.$match['params']['slug']);
}
// If we are dealing with a post