What Is Default .Htaccess Content Of WordPress

What is default content of WordPress .htaccess file

Actually, the default content of WordPress .htaccess is empty. However if you have enabled permalink other than “Plain” option, the content of WordPress .htaccess should like following

# BEGIN WordPress

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments