title: htaccess mask for my url
body: <p>I'm trying to mask a part of my url using .htaccess but I'm having several issues</p>
  
  <p>my url is
  <a href="http://ristorantitalianetwork.com/ristorantitalianetwork.com/admin/" rel="nofollow">http://ristorantitalianetwork.com/ristorantitalianetwork.com/admin/</a></p>
  
  <p>I'd like to remove the duplicate ristorantitalianetwork.com, so I'd like that my url will be like</p>
  
  <p><a href="http://ristorantitalianetwork.com/admin/" rel="nofollow">http://ristorantitalianetwork.com/admin/</a></p>
  
  <p>I've used </p>
  
  <pre><code>RewriteRule ^ristorantitalianetwork.com/([^/]*)$ ?q=$1 [L] 
  </code></pre>
  
  <p>but it doesn't work</p>
  
  <p>Could you please help me to figure out how to solve this problem?</p>
  
  <p>Thanks a lot</p>
  
  <p>Best regards</p>