title: How Do You Configure Windows Azure For Url Rewrite Using WordPress?
body: <p>I have just created a website using Windows Azure and their template for a WordPress blog.  I was able to update the CNAME and Alias records to properly forward my domain to their website.  When I go to: www.myblog.net, I am redirected to: myblog.azurewebsites.net and the browser shows www.myblog.net, which is what I want.</p>
  
  <p>This all works fine.  The site loads fine and all is well.  </p>
  
  <p>The problem, though, comes when I try to get to a page with a permalink.  Through WordPress configuration, I updated my permalinks to be in this format: <a href="http://www.myblog.net/blog/The-Post-Name-Is-Here" rel="noreferrer">http://www.myblog.net/blog/The-Post-Name-Is-Here</a>.  The problem with this is that when I attempt to go to that URL, I get this error:  </p>
  
  <blockquote>
    <p>The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.</p>
  </blockquote>
  
  <p>If I go to the shortlink for that same topic (e.g. <a href="http://www.myblog.net/?p=241" rel="noreferrer">http://www.myblog.net/?p=241</a>), the page is found and all is well.  </p>
  
  <p>I have researched this quite a lot and have found that there is a url rewrite for apache, but that obviously won't work for me.  I have also found that there is a url rewrite for IIS and I have played with this locally.  You can configure this to properly manage the url rewrite.  However, there is no such IIS panel in the Windows Azure Websites configuration portal.  </p>
  
  <p>I have also read a lot about editing web.config and htaccess, but neither of these files are in my wwwroot directory (or any child directories) for my website on azure.  </p>
  
  <p>So, does anyone know how to configure azure websites to manage permalinks properly?</p>
  
  <p>Thanks in advance for your help!</p>