How to remove #symbol from laravel pagination url
<p>I my laravel project i was using the pagination of the laravel.and call through the ajax but now i want to add the sorting searching and something. so i want my url like <a href="http://localhost:8000/test/sites?page=2&amp;sort=name&amp;order=asc" rel="nofollow noreferrer">http://localhost:8000/test/sites?page=2&amp;sort=name&amp;order=asc</a>
but i am getting url like <a href="http://localhost:8000/test/sites#?page=2" rel="nofollow noreferrer">http://localhost:8000/test/sites#?page=2</a> so how can i remove the # wich is coming from laravel caode.</p>

<pre><code>  $sites = DB::table('to_jobs')
  -&gt;select(array(
      'to_jobs.rec_id',
      'to_jobs.contarct_code',
      'to_jobs.job_num',
      'to_sites.site_name',
      'to_sites.postcode',
      'to_sites.site_id' 
  ))
  -&gt;leftjoin('to_sites', 'to_jobs.fk_site_id', '=', 'to_sites.site_id')
  /* -&gt;join(DB::raw('(SELECT rec_id FROM   to_jobs LIMIT  299990, 10) AS t'), function($join) {
      $join-&gt;on('t.rec_id', '=', 'to_jobs.rec_id');
  })*/
  -&gt;paginate(10);

  if (Request::ajax()) {    
      return Response::json(View('sites/site_data',compact('sites'),compact('user_data'))-&gt;render());
  }
</code></pre>

<p>Have i need to change in render().</p>