Get 404 Page not found on blogs

Topic summary

A Shopify store owner is encountering a 404 error when trying to access their blog page at /blogs. The issue stems from using an incorrect URL structure.

Root Cause:

  • The user is attempting to access /blogs (a listing of all blogs), but Shopify’s actual blog main page follows the pattern /blogs/[blog-handle] (e.g., /blogs/news).

Solutions Provided:

  1. Correct URL Usage: Navigate to the proper blog URL format /blogs/news instead of just /blogs.

  2. Custom “All Blogs” Page (Advanced): For users wanting a unified listing page:

    • Create a new page template called all-blog via Online Store → Themes → Edit Code → Templates
    • Insert custom Liquid code that loops through multiple blog handles to display all articles
    • Create a new page and assign the all-blog.page template
    • Requires basic coding knowledge

Status: The discussion remains open with another user reporting the same issue, seeking assistance for their store’s blog URLs also returning 404 errors.

Summarized with AI on November 10. AI used: claude-sonnet-4-5-20250929.

Hello,

I’m new in shopify and wanted to understand why my blog page showing 404 Page not found

URL: https://www.aravalii.com/blogs/

Please help me to list all category articles on this page.

1 Like

Please help @Ritchieboi

Hello @Anonymous ,

This is flareAI: your Fully Automated Free Sales Machine. I hope you’re having a good day. flareAI is helping lots of successful Shopify stores generate $5+ million in sales from Google Search, on autopilot.

If my suggestions is helpful to you, please let me know by giving a like or marking it as a solution.

You are looking at the wrong URL. The Shopify blog main page is https://www.aravalii.com/blogs/news.

I hope this was helpful! Cheers!

Gina
flareAI

Hello @Anonymous

I would like to give you some recommendations to support you

You will need to code it.

  • Go to Online StoreThemesActionsEdit Code.
  • You should see multiple liquid files categorized, go under “Templates”->Choose “Add a new template”->Create a new template for ‘Page’ called ‘all-blog’.

Step 1

  • The page you just created will open in an editor. Copy and paste the below code just after the line {{ page.content }}. (Your page might have some different html content but this line will be present):

Note: Here blog1 and blog2 and blog3 are your blog handles. Go to your respective blog pages and copy the part after the last ‘/’. Like:

GemPages_1-1668653439912.png

 {% assign blog_handles = "blog1,blog2,blog3" | split: "," %}

   {% for handle in blog_handles %}

        {% for article in blogs[handle].articles %}

               <h2><a href="{{ article.url }}">{{ article.title }}</a></h2>
         {% endfor %}

  {% endfor %}

Step 2

  • Now, go to page → Add new page → Put title whatever you like, I put it ‘Blog’ → Choose template suffix on the right side as ‘page.all-blog’. Save it.

Step 3

Go view the page you just created. It will display your article’s heading and clicking them will take you to the articles. (Article is alias for blog posts in Shopify). Read more article object properties here: https://shopify.dev/docs/themes/liquid/reference/objects/article

I hope the above is useful to you.
Kind & Best regards!
GemPages

Hey Team,
we’ve facing the same issue with our brand blogs, please help us on the same as all blogs urls are showing 404
here is the main url:- https://www.grhamoy.com/blogs/grhamoy-blogs