Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Wrong URLs in Generated Files #4
This blog has RSS enabled. In my RSS reader, until I implemented a workaround today, the post URLs in my RSS feed were incorrect. Here is an example URL I saw in my feed reader:
I don't know much about RSS, but I suspect that the problem was that the
As a temporary workaround, I ran the following commands today before uploading to S3. This fixed the problem, but I would be grateful if @jessesquires could provide insight as to how to get Jekyll to put the correct URLs in files.
Ok, so everything appears to be setup correctly.
And that's what's referenced in your
The question is, how are you deploying your site?
It looks like you are not using GitHub pages for hosting, correct?
It appears like your workflow is probably something like:
This would cause the
Is that what's happening?
I'd recommend deploying via Git. I wrote about this here. There are lots of details that won't matter for you. The relevant parts are (1) hosting your git repo on your server, (2) setting up git hooks to run
Hope this helps!
You are correct! I did not realize that
In future, I will deploy via Git hook.