Snippet: WordPress .htaccess file (Using Permalinks)

This is how an original .htaccess file looks like by default when you start using custom permalink structure.

# 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

Leave a Reply

Your email address will not be published. Required fields are marked *