title: Redirect to welcome page on pressing back button in react Single page application
body: <p>I have a react single page application, so on pressing back button, its redirecting me to welcome page as expected. Now due to some requirement, I have to update the URL of the app in between and due to which if now I press back button, its first redirect me to old url page and then welcome page.
  How can I control this behavior, means even after updating the URL, user should directly redirected to welcome page on pressing back button.</p>