Custom domain for github pages site only works for home page #23217
-
I’m pointing a domain originally set up through squarespace to my github pages site, and it works as expected for the homepage, walkermoskop.com, but all other pages lead to a 404 error. When running dig walkermoskop.com/about from the command line, I can see that unlike the home page, it’s not using the github pages IP addresses (I assume it’s using squarespace or an affiliated IP). Any ideas on how to address this? Or is this more of a squarespace issue? FWIW, within the squarespace advanced DNS settings, I added the following entries. (Apologies for not linking the repo, which can be found through my profile, but as a new user I can’t post more than two links.) Thanks in advance for any suggestions. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You need to remove the walkermoskop/walkermoskop.github.io/blob/e70ff6cecba2194bafae209c3299cab660ddfd90/_config.yml#L35
Should be:
More information specific for your theme: Minimal MistakesWorking with PagesSuggestions and Front Matter defaults for working with pages. You could also follow the standard way of creating pages by moving those pages in your root directory, however I’m not sure if some changes would be required for the theme you are using. Jekyll • Simple, blog-aware, static sites – 7 Jan 21PagesPages are the most basic building block for content. They’re useful for standalone content (content which is not date based or is not a group of content such as staff members or recipes). |
Beta Was this translation helpful? Give feedback.
-
Thank you! That did it. |
Beta Was this translation helpful? Give feedback.
You need to remove the
github.com#
from thepages
in theinclude
, in your_config.yml
filewalkermoskop/walkermoskop.github.io/blob/e70ff6cecba2194bafae209c3299cab660ddfd90/_config.yml#L35