If you click on a link to a site collection and get this error :

And then go to the SharePoint Admin Centre and still see it in the list, but clicking the link still give the 404 error above :

Then is means that the Home Page has been deleted. To get it back, go to any other site collection, then Site Contents.
Copy all the text in yellow below once in Site Contents :

Go to the site collection where you get the 404 error and paste it to the end of the link after the site name :

The page will display in the Site Contents screen. Go to the Recycle Bin :

Tick the box next to Home and then Restore :

The site is restored :

Be careful when deleting pages from the Site Pages library – don’t delete the Home page or it causes the above issue.

Nailed it! Great!
LikeLike
This was very helpful to me,
Thank you
LikeLike
Thank You very much!!
LikeLike
Genio!
LikeLike
Thanks for the help!
LikeLiked by 1 person
He estado buscando esta solución por todos lados!!! Aprecio mucho su ayuda
LikeLiked by 1 person
Thank you sssoooo much! You saved my life! I know that sounds dramatic but it was!!
LikeLiked by 1 person
Odd indeed, I would log a call with Microsoft for that.
LikeLiked by 1 person
Nice job — found and restored access to a page using this guidance. Thanks. 🙂
LikeLiked by 1 person
What about when it shows the 404, but Home.aspx is still intact and not deleted. This is for SPO, specifically. Site was fine 2 days ago when the user last used it. All other pages on the SPO site work
LikeLike
Pleasure babe.
LikeLike
Pleasure.
LikeLike
Thank you so much. Appreciate this
LikeLike
Thank you so much Veronique 🙂
LikeLike
Thank you.
LikeLike
The blog is quite precise and informative.
LikeLiked by 1 person