title: Wordpress permalink structure change issue
body: <p>I have seen some other posts on SO about this issue, however none of the suggested solutions did work for me, so I repost.</p>
  
  <p>After changing my permalink structure to <code>/%postname%/</code>, none of the links is working. I get the following 404:</p>
  
  <pre><code>Not Found
  
  The requested URL /my-post-name/ was not found on this server.
  
  Apache/2.2.20 (Ubuntu) Server at mysite.com Port 80
  </code></pre>
  
  <p>When I get back to the <code>default</code> permalink structure it starts to work again, but I want to have <code>/%postname%/</code> structure anyways.</p>
  
  <p>My <code>.htaccess</code> file's <code>chmod</code> is 777.</p>
  
  <p>After updating my permalink structure to <code>/%postname%/</code>, the <code>.htaccess</code> file generated by Wordpress is the following:</p>
  
  <pre><code># BEGIN WordPress
  &lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /
  RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.php [L]
  &lt;/IfModule&gt;
  # END WordPress
  </code></pre>
  
  <p>Any thoughts?</p>
  
  <h2>Edit:</h2>
  
  <p>I tried to change permalink structure to the following:</p>
  
  <pre><code>/index.php/%postname%/
  </code></pre>
  
  <p>and it happily worked. However, the problem is now, not surprisingly, the links are in the following form:</p>
  
  <pre><code>www.mysite.com/index.php/my-page.com
  </code></pre>
  
  <p>My question is how can I remove <code>index.php</code> from my links. When I remove it from the permalink structure (i.e., <code>/%postname%/</code>), my links no longer work.</p>
  
  <p>PS: Instead of using blog entries I use only pages in my site. If it is necessary my site is: mll.sehir.edu.tr.</p>