title: .htaccess rewrite rule from http://example.com/~something/blabla to http://example.com/blablabla
body: <p>Little question with .htaccess rewrite rule..
  I want to redirect http request like that:</p>
  
  <p><a href="http://example.com/~something/blabla/blablabla?blabla=blabla" rel="nofollow noreferrer">http://example.com/~something/blabla/blablabla?blabla=blabla</a></p>
  
  <p>as an request like that:</p>
  
  <p><a href="http://example.com/blabla/blablabla?blabla=blabla" rel="nofollow noreferrer">http://example.com/blabla/blablabla?blabla=blabla</a></p>
  
  <p>Simply remove the ~something (with can be anything else but with an ~ at beginning...)</p>
  
  <p>I have tried this code but not working at all...:</p>
  
  <pre><code>RewriteEngine on
  RewriteRule ~something/(.*) $1 [P,L]
  </code></pre>