Posted By

jink on 02/26/10


htaccess apache permalink

Versions (?)

Wordpress: .htaccess for permalinks

 / Published in: Apache

Use this rewrite rule to enable permalinks on a host. Used when Wordpress doesn't write the conditions correctly (like on a host I am testing with).

  1. <IfModule mod_rewrite.c>
  2. RewriteEngine On
  3. RewriteBase /
  4. RewriteCond %{REQUEST_FILENAME} !-f
  5. RewriteCond %{REQUEST_FILENAME} !-d
  6. RewriteRule . /index.php [L]
  7. </IfModule>

Report this snippet  

You need to login to post a comment.