The Basic Original WordPress htaccess file
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 # The directives (lines) between "BEGIN WordPress" and "END WordPress" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. <IfModule mod_rewrite.c> RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
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…
Copy this in to a file named .htaccess
and put it in the root of your WordPress website directory, in the same place as your wp-config.php
Copy, paste, upload, permalink.