I’m trying to use jekyll-redirect-from. It seems simple enough.
I have a page with this front matter:
--- layout: page title: Sonoma County Matsuri Festival Schedule permalink: /schedule redirect_from: - /entertainment-schedule/ - /entertainment/ teaser: | This page will soon be updated with information about the 2020 Matsuri festival. ---
It generates the following page in entertainment/index.html. Because it is redirecting to an url which is an empty string, it does not work.
<!DOCTYPE html> <html> <head> <link rel="canonical" href=""/> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta http-equiv="refresh" content="0;url=" /> </head> <body> <h1>Redirecting...</h1> If you are not redirected automatically, <a href="">click here</a>. <script>location=''</script> </body> </html>
I can’t figure out why the generated page does not have the correct page.redirect_to.
I want and expect the page to redirect to /schedule.