Generally it is bad for SEO, especially if it's on pages that were on the SERP before. During my early days, I once lost a site like that cos I did migration and failed to fix all links.i imported my theme Demo to my website in first days of my blog age
and then i deleted all of the demo posts and categories
now all caused Not found (404)
is it bad for Seo ?
how can i solve them
Generally it is bad for SEO, especially if it's on pages that were on the SERP before. During my early days, I once lost a site like that cos I did migration and failed to fix all links.
If the 404 are a lot and you're concerned, redirect them to your homepage.
Crazy that I've always redirected to homepage but never had issue. Though they were never bulk, just a few pages.Donot redirect to homepage. It is quite known that Google treats bulk redirects to homepage as soft 404
Those that are not indexed are inconsequential. Long as nothing links to them.some urls are related to demos and not indexed but crawled by google
If Google bot has not reason to attempt visiting those pages on your site, you're mostly fine though. If there are no pages linking to them and all.but some others urls was related to time i was using this website for other purposes and many of them was indexed