Skip to content

Instantly share code, notes, and snippets.

@dompascal
Created November 23, 2013 10:58
Show Gist options
  • Save dompascal/7613242 to your computer and use it in GitHub Desktop.
Save dompascal/7613242 to your computer and use it in GitHub Desktop.
HTACCESS - Wordpress remove index.php
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment