title: Permalinks on Wordpress EC2
body: <p>I have just transferred my blog from my local webserver to Amazon EC2 Free Linux server, Everything seems to be working now except for permalinks, I disabled and re-enabled them and it still breaks.</p>
  
  <p>I've tried running the script</p>
  
  <pre><code>sudo a2enmod rewrite
  </code></pre>
  
  <p>But it says a2enmod: command not found while logged into my server as ec2-user</p>
  
  <p>Any help would be much appreciated!</p>
  
  <p>Thanks</p>