Default HTACCESS File for WordPress
This article is from our archive. It is kept as it was first written, so some steps or versions may be out of date.
Looking for the default .htaccess file for WordPress? Here it goes. Simply create a .htaccess file and upload it on your root directory.
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress