title: Add query to range of URLs
body: <p>I want to add the query <strong>#googtrans(nl|en)</strong> to all URLs containing <strong>/en/</strong></p>
  
  <p><a href="http://example.nl/en/" rel="nofollow">http://example.nl/en/</a> always needs to be <a href="http://example.nl/en/#googtrans(nl|en)" rel="nofollow">http://example.nl/en/#googtrans(nl|en)</a></p>
  
  <p>Sub URLs like <em>example.nl/en/uncategorized/nieuws/</em> always need to be <em>example.nl/en/uncategorized/nieuws/#googtrans(nl|en)</em></p>
  
  <p>Maybe useful: whenever /en/ is in the URL, I have li class="lang-en" as "lang-en active", but I don't know if that can help.</p>
  
  <p>The goal is to automatically run Google Translate when English pages are loaded.</p>
  
  <p>Tried through <strong>.htaccess</strong> by adding:</p>
  
  <p><code>RedirectMatch ^/en/(.*)$ example.nl/en/$1#googtrans(nl|en)</code> </p>
  
  <p>But I am getting too many redirects error. Also tried with jquery but my code doesn't work on the url itself: </p>
  
  <pre><code>$(document).ready(function () { 
      $('li.lang-en.active') { 
          $(this).attr("href", $(this).attr("href") + "#googtrans(nl|en)”); 
      }) 
  });
  </code></pre>