How to resolve 404 error due to Collection setup

Hi,

How to resolve 404 errors due to collection setup. I have a submenu link as Blog and then in the collection setting, I have given url as example.com/article.

Hi! Are you getting these errors in Google Search Console or a 3rd party tool?
If it is a 3rd party tool, then it is possible that their crawler do not support SPAs.
This is related to how the collections are working in SiteJet, see here: Include the actual data from the collection item in the html markup

However, I guess the simple way to fix this is to add a redirect to your first blog-post (or an existing page).
Example:
Redirect yoursite_dot_com/article to yoursite_dot_com/article/your_first_article_slug

Hi Lucian,

I am using Ahref to inspect the site and do SEO analysis. I found these errors.

Why we can not get something like example.com/blog/title of blog1. Why we need to give a different slug.

This can be observed even for sitejet.io…top level menu name is a blog with URL as ‘sitejet(dot)io/en/blog’ and then when you open any blog post URL goes to ‘sitejet(dot)io/en/article/title of blog 1’.

@Andre - I have raised a support ticket on it–pls reply here for the benefit of everyone.

1 Like