Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Post URL's not working. #403

jacquestardie opened this Issue · 11 comments

3 participants


Working on

Selecting a link on the right leads you here:

I'm not sure why the file doesn't exist. I have a post in the _posts dir that I expect to work.

What am I missing?

Repo is here if someone doesn't mind checking it out:


Also, I realize that there is probably a fairly obvious answer to this. But if someone could correct me I'd gladly send you $5 for your time!


It is because when the site is being generated by github, it is not generating the permalinks you are trying to use.

Read up on the permalink configuration settings here. Then put the desired configuration in your _config.yml file. You can use mine as an example.


Also, I see that you are pushing your locally generated _site to the repo. This is not necessary as github automatically runs your repo through jekyll on each push. Your _site directory is not what is being hosted by github pages.

@uraimo is available. Cocoahero is right, i'd try with permalink: /atlanticsalmon/:year/:month/:day/:title


Got it. Thanks so much!


Ugh, I lied.

Where am I going wrong here.

Using permalink: /atlanticsalmon/:categories/:title
This works,
This does not,

@jacquestardie jacquestardie reopened this

I've never used that :categories symbol so i can't comment regarding the intended behavior, i'd try using this:


instead of category: threat in your post.
If this works, and if this was the intended behavior, the wiki should be updated, if not it's a bug.


  • threat (with a space before threat)

You don't need the atlanticsalmon in your permalink definition. Behind the scenes, is actually a separately hosted site, therefore / actually represents /atlanticsalmon/.

If your taking the category approach of organizing your posts, then this should work for you:

permalink: /:category/:title

This should generate links such as /atlanticsalmon/threat/post-title.html


So, if I do that, links go to here: is actually powered by the same jekyll instance.

The only thing I can think that might make this more complicated that it is, is the fact that is actually hosted with jekyll/github as well. Really, I'm not sure. I think tonight I might try moving this to a new domain and see if it has any effect.

Thanks again cocoahero


Interesting. It looks like your almost there. Try adding the /atlanticsalmon/ back in to the permalink. I thought it didn't work this way (specific to Github pages).


Back to permalink: /atlanticsalmon/:categories/:title, which yields

The link looks good, but if you visit that page, you get a 'Page does not Exist' error via Github.

Not sure if this might clarify things, but when I run jekyll locally, my directory structure is /_site/atlanticsalmon/threat/Threat1


You need either a trailing slash, or a .html extension.

/atlanticsalmon/:categories/:title.html -or- /atlanticsalmon/:categories/:title/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.