Default .htaccess file for WordPress?

My .htaccess files are intercepting WordPress’ .htaccess file.

Which modules and which settings (specified by .htaccess) are required for WordPress to work? In other words, where can I find WordPress’ default .htaccess file?

4

Here is the default code for that file.

# 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

you can check it here for default htaccess file.

http://codex.wordpress.org/Using_Permalinks.

Thanks. I hope it helps little.

Leave a Comment