Closed marbetschar closed 5 years ago
This issue has been automatically marked as stale because it has not been commented on for at least two months.
The resources of the Jekyll team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master
branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.
This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions.
This is not possible.
@marbetschar you might want to take a look at Netlify redirections: https://www.netlify.com/docs/redirects/
This issue has been automatically marked as stale because it has not been commented on for at least two months.
The resources of the Jekyll team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master
branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.
This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions.
Hi!
I'd love to use your plugin to forward requests to another URL, since my blog moved from WordPress to Jekyll: https://blog.marco.betschart.name - and my homepage is a GitHub Pages static site too: https://marco.betschart.name
Now, every path on the homepage which can't be found, should be redirected to the blog:
For this, I created a 404.html page on GitHub Pages:
And now wanted to create a custom layout for the redirect page according to your docs using a combination of
{{ page.redirect.to }}
and{{ page.redirect.from }}
:Unfortunately this redirects to http://blog.marco.betschart.name/404.html - which is not the expected behaviour. How to preserve the initial
page.url
the user really wanted to visit in the first place and how to pass this to the redirect template?