NgOnInit Error when using Angular Router

So when I first load a specific page, everything is fine and dandy. All the functions in the ngOnInit lifecycle hook run well. However, if i navigate to a page using the angular router, specifically the navigateByUrl Function, ngOnInit does not fire.

Is there another function I can use that will fire every single time I open a page, regardless if i’ve opened it before or whether I’m using the angular router to access it?

Thanks.