Get 404 Page not found on blogs

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.

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