WordPress htaccess file will be useful if you deleted it by mistake or edited incorrectly.

 

Default .htaccess file for WordPress 2.9 – 4.2

# BEGIN WordPress

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

Default .htaccess file for WordPress 2.3

# BEGIN WordPress

 
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
 
 
# END WordPress