I have a problem with “/category/***” pages in my Blog.
The /category/ and /tag/ root pages are working fine. But /category/*** sub-pages show 404 error and basically the blog generates no category page.
How do I fix this issue?
My repository link.
PS: I really checked everything I could think of.
Related
I'm having trouble setting up the proper paths for my website, using 'href', I keep getting the 404 error when I'm on the github pages for it, but while developing on live server it works perfectly, making it hard to get what am I doing wrong. for example, on the root of the site I have the index.html and a couple other pages, those work with no problems, but then I created a folder to hold the other pages (called 'sub-pages') but everything I put on there does not get redirected at all, giving me the 404 error. for example, If i do href="index.html" it works, but if I do href="pages/sub-pages/page" I get 404'd while on the gitpages but on the live server it works no problem
The way a path is interpreted is different according to the system.
Try href="./[subfolder]/page.[extension]"
I'm having an issue with uploading my website to GitHub pages. I am a beginner and have just made my first website that uses several html files. I have created a repository for this website. The website contains index.html, and 2 other html files. When I first open the website through GitHub Pages it appears to be fine, however if I click on a link on the website which takes me to the main page (the main page being index.html) it opens up a completely different website from my other repository. I realised this is because it uses the same url (username.github.io/index.html) as my other repository. Since both of these are the same I guess it just opens up my other website because it was created earlier.
This is my first issue. I also have another issue. My other 2 html files have a unique html file name, but when I open the link for them I get a 404 error:
"The site configured at this address does not contain the requested file."
From what I understand, a GitHub Pages URL would look like this:
username.github.io/repository name/html file name.
My website looks fine when I open it with this URL:
username.github.io/repository name
However, when I click on any link on the website the URL loses it's repository name and changes into:
username.github.io/html file name which brings up a 404 error.
I don't understand why it does that.
The URLs in your links start with /, which points at the root of the domain.
Don't do that.
For a Jeykll website hosted on GitHub I created a custom solution (no Jeykll plugin) to display all post links of a category on a page *. I use the setup of GitHub pages for local Jekyll builds and build with bundle exec jekyll serve locally. If visit http://127.0.0.1:4000 and push one of the hyper-link buttons Embedded, Hardware or Software in the left side-bar below Pattern Categories the post links are shown like expected.
However if I visit the website hosted on GitHub I get an "404 File not found" error. From the past I can remember that this could relate to a different handling of Jekylls permalinks in local and GitHub Pages builds. But I cannot remember in detail.
It would be great if someone could help me out.
* Sitenote: Right now instead of listing only the post links for a single category the post links of all categories are listed section wise. But that does not matter w.r.t. to this question.
The problem is that the website isn't located at the root level, so you need to use in _config.yml the base url:
baseurl: /design-pattern-references
Then make use of that setting generating full paths, e.g.: in _layouts/index.html
{{ post.title }}
I am extremely new to coding and still learning the ins and outs of Git and Github. I am having an issue where my Github pages opens to an .html file that I deleted rather than my index.html. I am at a blockage where I've typed my question into google in various forms and have tried to figure this issue out myself, but with my limited knowledge, I'll be honest I'm just getting confused and finding myself heading down a rabbit hole. Can anyone help me out?
This is my github repo https://github.com/khayes8/Triviagame
and this is my github pages link https://khayes8.github.io/Triviagame/Finalscore.html
In correct url of your Github Page is https://khayes8.github.io/Trivia-game/index.html
And I found a javascript in the repository which file /assets/javascript/app.js at line 69.
setTimeout(function(){
window.location.href='Finalscore.html'});
The statement redirect your page from /index.html to /Finalscore.html. Because you are already deleted Finalscore.html so you will get a 404 no found page.
I want to set up 2 different jekyll sites:
https://github.com/Caruso33/caruso33.github.io for my front page to the redirected domain leinss.eu and
https://github.com/Caruso33/traveltobi.de for blog related stuff, to the subdomain blog.leinss.eu (traveltobi.de also points to that).
The user page is rendered all fine, but the project site (traveltobi.de) doesn't work. I set the gh-pages settings to the master/docs branch and put all jekyll related files in this folder github.com/Caruso33/traveltobi.de/docs. However, I only can see the basic HTML page.
Is there a wrong setup in the _config.yml?
CNAME is showed as it should.
I don't know what configuration to change properly.