Default WordPress .htaccess file

Default WordPress .htaccess

Only modify if you know what your are doing. 

Default WordPress .htaccess file code:

# BEGIN WordPress 

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

# END WordPress

You will need this for the .htaccess file. You can create a simple text file using any text program like notepad to create this. When you save it, the file will be htaccess.txt. You will upload that to the server, then you will rename it to “.htaccess”. If the file disappears that is ok, the file is a hidden file. You will only see it if you have the FTP client configured to see it. For a “how-to” on seeing the file see:

Here is a default text file download. You can download this and upload it. Only has Default WordPress .htaccess file code:

right click “save link as..” for default .txt file with htaccess code

(or click to see code)