title: How to prevent react-router adding # to url?
body: <p>Like the title says how can i prevent adding the # at the end of url.</p>
  
  <p>routes.jsx</p>
  
  <pre><code>(export default (withHistory, onUpdate) =&gt; {
   const history = withHistory?
                (Modernizr.history ?
                  browserHistory
                : hashHistory)
              : null;
  return (
  &lt;Router history={history} onUpdate={onUpdate}&gt;
    &lt;Route path='/' component={App}&gt;
      &lt;IndexRoute component={quotes} /&gt;
      &lt;Route path='/app/search' component={SimpleSearch} /&gt;
  
      &lt;Route path='pathName' component={Blank1} /&gt;
        &lt;Route path='pathName/:category' component={Blank1}/&gt;
        &lt;Route path='pathName/:category(/:page)' component={Blank1}/&gt;
      &lt;Route path='app/:id' component={Blank1} /&gt;
  
    &lt;/Route&gt;
  
  &lt;/Router&gt;
  
  );
  };
  </code></pre>
  
  <p>method in blank1.jsx</p>
  
  <pre><code>method(current,previous){
      const category= this.props.params.category;
      const page = current;
      const path = `/pathName/${category}/${page}`;
      browserHistory.push(path);
  ...
  }
  </code></pre>
  
  <p>I tried lots of things but couldn't get the link without the #.
  It adds # to the end and keeps triggering the componentWillReceiveProps where I change state with this.setState. And also in navigation by none of the nav items aren't active because of the #  </p>