Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 4

SOLVED: Internal links not working properly

Solved! Go to Solution.

So I am kinda new to html and github. I have my github pages website up and running, but when you click on a link in the nav bar, it shows a 404 error because the link repeats itself. Example: Normal url upon loading up the site is example.github.io/example.html/. When you click on a link in the nav bar it goes to example.github.io/example.html/example.html, and that shows a 404 error. 

 

Link to main repository --> https://github.com/ninetailedmachine/ninetailedmachine.github.io

 

EDIT: I've solved the problem

3 Replies
Community Manager
Message 2 of 4

Re: SOLVED: Internal links not working properly

@ninetailedmachine Thanks for the update! Would you mind sharing your solution?

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Solution
Copilot Lvl 2
Message 3 of 4

Re: SOLVED: Internal links not working properly

I had made separate repositories instead of making a folder inside of the main repository. So I made a folder in the main repo, changed the html a bit to follow that path, deleted the other repositories and it worked! Obviously, I'm new to github, so this took me longer to figure out.

Community Manager
Message 4 of 4

Re: SOLVED: Internal links not working properly

@ninetailedmachineThanks a bunch for coming back to share! We're looking forward to seeing you around!

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!