I'm using React Router v4 and I was wondering how I can change an url without reloading the page.
If I go to http://mywebsite.com/post/245 the correct blog post loads in but I want to change the id with the name of the title of the current blog post.
My route looks like this
<Route path='/post/:id' component={BlogPost}/>
Edit: I'm not searching for a way of how I can navigation programmatically to another component. I'm searching for a way to rewrite an id to the title of my post without redirecting.