What is the default htaccess file for WordPress?
Recently UpdatedIf you delete the default .htaccess file of WordPress, you can use the following.
We create a new file with our editor and name it .htaccess.
We paste and save the following content :
BEGIN WordPress
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
END WordPress