Issues in wordpress with permalinks and archives

Discussion in 'WordPress' started by lightlysalted, Nov 15, 2008.

  1. #1
    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
     
    lightlysalted, Nov 15, 2008 IP
  2. jamuna

    jamuna Active Member

    Messages:
    2,089
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    80
    #2
    TRY chmod 755
     
    jamuna, Nov 15, 2008 IP
  3. magicinthedesert

    magicinthedesert Peon

    Messages:
    143
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    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.
     
    magicinthedesert, Nov 17, 2008 IP