Home  »  CodeGuidesSnippetsTechnology   »   Default WordPress .htaccess File Code

Default WordPress .htaccess File Code

Posted: October 22, 2022 | by Site Host

The snippet contains the default WordPress .htaccess files used in single site mode.

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

Found this article interesting? Follow Brightwhiz on Facebook, Twitter, and YouTube to read and watch more content we post.