title: change url path using jquery
body: <p>I have made a website for two different languages each being in two different folders <code>en</code> and <code>bn</code>. I want to switch between the folders on <code>href</code> element click using jquery. </p>
  
  <pre><code>&lt;a class="eng_link " style="" href="#"&gt; English&lt;/a&gt; 
  &lt;a class=" link_active bangla_link " style="" href="#"&gt;বাংলা &amp;nbsp;/ &amp;nbsp;&lt;/a&gt;
  </code></pre>
  
  <p>Say, I am currently on <strong>www.example.com/en/content?id=1</strong>. While clicking the link for english it will redirect to the url <strong>www.example.com/bn/content?id=1</strong> and vice versa. Only the <code>bn</code> part of the url will change to <code>en</code> keeping other parts the same. How can I do this?</p>