Default WordPress .htaccess file




Copy and paste the code for the default WordPress .htaccess file. This file is needed to test if repairing your WordPress i.e. Fixing Internal Server Erroror white screen errors.

# 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

View WordPress .htaccess file or Download a fresh WordPress .htaccess

Some computer systems don’t show any file with the . before it for security reasons, so you may have to rename it as “.htaccess” there is no extension required or needed for this type of file. The .htaccess file is the most powerful file on your website. If it is wrong your website wont display.

 

Most browsers strip the . before they will download the file.

by pinguisweb.com Design and Marketing