Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Ground Controller Lvl 1
Message 1 of 1

My gh-page works well in Local but gets 404 error when published.

Hi, I'm new to gh-pages.

I was trying to post my page with Jekyll(Theme : Jasper2) but had some problems.

 

My problem is that "My page works excellent in local, but not in https://hy38.github.io/ which is my gh-page".

I've been searching for several methods to figure it out, and here is what i've tried for.

 

- It might be the secure problem which makes the difference between local and github. So you must push the output folder "_site" either when pushing your pages.

 

  -- I've made static html files by "bundle exec jekyll build JEKYLL_ENV=production" into _site folder and pushed it to my github(https://github.com/hy38/hy38.github.io/). But, the 404 error appeared in my tags(https://hy38.github.io/tag/Algorithm/).

 

Besides I found out my navigation not working on my "Static Files" which I made by command.

This is the picture I am getting from here (https://hy38.github.io/tag/Algorithm/)

image.png

But It should be like this(my local site):

image.png

 

I don't know why it is happening, how to figure it out.

I need your help!

Thanks.