Tag Archives: .htaccess_files

remedy for wordpress permalink problems

After setting permalinks to a custom structure e.g. /%category%/%postname%/ you always get a 404 return error. The following steps may put things right: Create a .htaccess file (with the command touch .htaccess ). chmod it with 666 Make sure the file contains: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> #END WordPress Check in [...]