jekyll / jekyll-redirect-from

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

How to set a relative URL? #226

Closed bobvanluijt closed 3 years ago

bobvanluijt commented 3 years ago

How can I have the plugin set a relative URL in the generated pages? If I not set site.url it defaults to http://localhost:4000

ashmaroli commented 3 years ago

http://localhost:4000 is only set if you run jekyll serve. Have you tried running jekyll build instead?

bobvanluijt commented 3 years ago

Aha – that's it. Sorry, did not know this