WordPress Default .htaccess File

Often when I move my blogs from one web host to another, I need to reset the wordpress’ .htaccess file or the posts won’t show up properly.

That’s why I keep the default .htaccess file for wordpress with me.

Here it is :


# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]


# END WordPress

Leave a Reply

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