Closed bcardiff closed 7 years ago
baseurl
is just a path, not a full URL. That should be:
url: https://bcardiff.github.io
baseurl: /issue-redirect-to
Check out this for more details: https://byparker.com/blog/2014/clearing-up-confusion-around-baseurl/
Thanks @parkr that tidy up the things regarding the 2nd request (redirect_from), but not the 3rd request (redirect_to). I've just updated the issue description so the output is more clear.
Fixed via #131.
redirect_from use baseurl to build the url to use in the redirection. I think the same should happen with redirect_to so the redirect configuration does not depend how the site is hosted.
I created a minimal repo https://github.com/bcardiff/issue-redirect-to which is hosted as https://bcardiff.github.io/issue-redirect-to/ that shows lack of symmetry between these two settings.
Maybe I am doing something obviously wrong, in that case I appreciate some guidance.
updated output after applying https://github.com/jekyll/jekyll-redirect-from/issues/130#issuecomment-268593451