Created
May 19, 2020 02:03
-
-
Save owenconti/68ae6d56601cabde52ad972022bee451 to your computer and use it in GitHub Desktop.
Using static HTTP redirects in Statamic v3
This file contains hidden or 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
<?php | |
'redirect' => [ | |
'/old' => 'https://some-external-url.com', | |
'/old-slug' => '/new-slug' | |
], |
This file contains hidden or 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
<?php | |
'vanity' => [ | |
'/temp-url' => '/some-new-temp-url', | |
], |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment