I have being trying to change my permalinks in wordpress to make them much more attractive than the default. I used the /%year%/%monthnum%/%postname%/ option. All of my posts copied over fine BUT when I click on archives it retruns a forbidden 403 error. I have chmod 666 my htaccess file as suggested but this makes no difference. This is what my htaccess file loks like at present; # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress can anyone suggest anything else, i'm so fed up with it. Cheers
I was having the same problem with WordPress 2.6. I played around with a lot of different htaccess code to find something that worked. This is the code that finally got it to work: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / rewritecond %{http_host} ^www.yoursite.com [nc] rewriterule ^(.*)$ http://yoursite.com/$1 [r=301,nc] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress Code (markup): Replace yoursite with your actual site name. Hope that helps.