title: .htaccess remove file extension before hashtag
body: <p><a href="http://freddygonzalez.me/dev/update/index.html#mywork.html" rel="nofollow noreferrer">http://freddygonzalez.me/dev/update/index.html#mywork.html</a></p>
  
  <p>How can I use .htaccess to remove the index.html</p>
  
  <p>So it could look like this
  <a href="http://freddygonzalez.me/dev/update/#mywork.html" rel="nofollow noreferrer">http://freddygonzalez.me/dev/update/#mywork.html</a></p>
  
  <p>Also there may be one conflict.If the user press on the logo they get this
  <a href="http://freddygonzalez.me/dev/update/index.html#index.html" rel="nofollow noreferrer">http://freddygonzalez.me/dev/update/index.html#index.html</a></p>
  
  <p>So is there a way to use.htaccess to always remove the index.html but not the hashtag?</p>
  
  <p>Thanks</p>