# Reload home page

**URL:** <https://forum.ionicframework.com/t/reload-home-page/175366>\
**Category:** ionic-v3\
**Created:** [October 12, 2019, 2:11am UTC](https://forum.ionicframework.com/t/reload-home-page/175366 "2019-10-12T02:11:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lyhout](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/lyhout/32/128823_2.png) [@Lyhout](https://forum.ionicframework.com/u/Lyhout)\
**Post date:** [October 12, 2019, 2:11am UTC](https://forum.ionicframework.com/t/reload-home-page/175366/1 "2019-10-12T02:11:26Z")

</div>

Hello, I have some problems with the reload page in ionic.  
Cause I want to make page to reload the page after checkout.  
How I can solve it?

Thank in advance.

---

<div class="post-metadata">

**Author:** ![RomnEmpire](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/romnempire/32/124028_2.png) [@RomnEmpire](https://forum.ionicframework.com/u/RomnEmpire)\
**Post date:** [October 12, 2019, 3:13am UTC](https://forum.ionicframework.com/t/reload-home-page/175366/2 "2019-10-12T03:13:30Z")

</div>

Why you need to reload the page?

---

<div class="post-metadata">

**Author:** ![Hammad6264](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/hammad6264/32/128169_2.png) [@Hammad6264](https://forum.ionicframework.com/u/Hammad6264)\
**Post date:** [October 13, 2019, 10:32am UTC](https://forum.ionicframework.com/t/reload-home-page/175366/3 "2019-10-13T10:32:22Z")

</div>

You can use ionViewWillEnter() function to reload page when page opens.Or you can use this line code for reloading page;

```auto
window.location.reload();

```

if you want to reload your page after a specific function or specific code run, you can use this line after the specific code like this:

```auto
someFunction() {
       // Some Code
       window.location.reload();
}

```

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [October 14, 2019, 12:54am UTC](https://forum.ionicframework.com/t/reload-home-page/175366/4 "2019-10-14T00:54:23Z")

</div>

Do please answer @RomnEmpire’s question before taking any further advice from this thread. Chances are, you really do not want to be doing what you are asking, and especially using something as drastic as that suggested in the previous post.
