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?


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]
# END WordPress

you can check it here for default htaccess file.

Thanks. I hope it helps little.

Leave a Comment