Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Baseurl and url config didn't work for jekyll on github

I'm new to jekyll and I'm trying to figure out how to make the config 'baseurl' and 'url' work on github

I set to config like this in _config.xml:

baseurl: /documentation

url: https://michaelpw.github.io/

However, when I open this page https://michaelpw.github.io/documentation/, it displayed the error 404 not found.

Anybody knows what went wrong? I tested on local and everything worked fine.

like image 513
Mike Nguyen Avatar asked Nov 06 '25 08:11

Mike Nguyen


1 Answers

Currently your site is being deployed to https://michaelpw.github.io/.

To have it at https://michaelpw.github.io/documentation/, you need to move the site to a separate repository named documentation instead of michaelpw.github.io.

like image 120
marcanuy Avatar answered Nov 09 '25 08:11

marcanuy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!