1. Home
  2. Wordpress
  3. WordPress default .htacess file

WordPress default .htacess file

If your WordPress .htaccess file is corrupted due to a malfunctioning plugin or other issues, you can restore the default .htaccess file
# 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
Updated on July 14, 2024

Was this article helpful?

Related Articles