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

Alternative ports are ignored #154

Closed eksperimental closed 7 years ago

eksperimental commented 7 years ago

When setting an alternative port such as 4001, the direction will happen to port 4000

benbalter commented 7 years ago

This is going to need to be fixed upstream in jekyll/jekyll. This plugin relies on site.url, which Jekyll sets. I suspect it may be hard coded to 4000 and not the user-specified port.

eksperimental commented 7 years ago

yes. if it set site.url with a port, it works, but I think it shouldn't be necessary

I will report it to jekyll then thank you!

eksperimental commented 7 years ago

I updated to the latest version of jekyll and this plugin and the issue seems to be gone. thank you @benbalter