jekyll / jekyll-redirect-from

:twisted_rightwards_arrows: Seamlessly specify multiple redirections URLs for your pages and posts.
MIT License
781 stars 112 forks source link

Correct double slash from to and from URLs #156

Closed eksperimental closed 7 years ago

eksperimental commented 7 years ago

This was happening in a setup I have with baseurl: /

and an en/index.md file with redirect_from: /

which creates an /index.html with the redirection: http://localhost:4000//en/

this corrects it to http://localhost:4000/en/

pathawks commented 7 years ago

If this is to be changed, it should be changed upstream.

jekyll/jekyll#6058

eksperimental commented 7 years ago

great, i didn't know the existence of that PR

pathawks commented 7 years ago

@eksperimental Thanks for the PR though :+1: