The Two Percent

Contact

The Basic Original WordPress htaccess file

This one is for me more than you, but hey, there is a lack of info on the internet, and its up to me to set it straight…

When I install WordPress sometimes the .htaccess file for permalinks is never created, so I have to hunt around for it… sometimes you don’t want a fancy all-singing all dancing htaccess file, just the original… so here it is :

# BEGIN WordPress

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

# END WordPress

Copy, paste, upload, permalink.