Github pages doesn't update & 404 errors for some posts #166428
Replies: 3 comments 1 reply
-
Chirpy (Jekyll) blog works locally but fails to update on GitHub Pages, and old posts now lead to 404, it's likely related to GitHub Pages or Jekyll build problems, not a Chirpy or browser issue. Things You've Already Done (Good!) Pushed changes (with empty commit) Cleared browser cache Branch setting is correct Not using a custom domain Check GitHub Pages Build Logs See if there is any ❌ build failure or jekyll error.
✅ You have a _config.yml file ✅ You have no _site/ directory checked into your repo (GitHub builds it) Make a dummy change and commit:
Ensure: Source is set to GitHub Actions (or main / (root) if not using Actions) No wrong folder like /docs selected
Check _posts filenames are correct: YYYY-MM-DD-title.md Check if permalinks or front matter changed recently in _config.yml Confirm no .html extension is wrongly removed
Make sure it doesn't break locally in production mode.
Use Chirpy Starter Template which builds using GitHub Actions. Set Pages → Source to GitHub Actions. |
Beta Was this translation helpful? Give feedback.
-
✅ 1. Verify Deployment Status on GitHub Check the most recent GitHub Pages deployment. Look for red ❌ or yellow ✅ 2. Force Rebuild bash ✅ 3. Check _config.yml Settings yaml ✅ 4. Make Sure _posts/ Folder Exists and Has Valid Posts Each post must have a correct front matter, like: yaml
|
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'm using github page for my blog.
I'm using Chirpy(Jekyll) theme.
I noticed the github deployment didn't work yesterday, but as I saw it is resolved, I tried to deploy it...
However, it didn't updated new posts. Moreover, if I click old posts it goes to 404 error. It didn't show up yesterday.
I'm trying to find out how to solve this... or is this just github bug? The blog works well in local.
What I did
Beta Was this translation helpful? Give feedback.
All reactions