WordPress.org

Support

Support » Themes and Templates » [Resolved] Archives not working…?

[Resolved] Archives not working…?

  • The archives widget appears on my 3rd column on right. When you click it, it goes to /home/2013/05/ and displays the directory listing. How can I fix this?
    Yes this is my first WordPress install, but I’ve searched the support forums and there are plenty of thigs to do for archives, but this should work without modification – right?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author c.bavota
    Member

    @tinkerpriest

    Make sure your permalinks are set up correctly. Go to Settings => Permalinks in the admin.

    Thanks for the response. I changed the permalink to /domain.com/?p=nnn (the first option and it works, but I was hoping to use the year/month directory format. I probably am doing something wrong, but the default setting seems to work.
    Is there a reason that the other permalink format doesn’t work?

    – Bart

    Theme Author c.bavota
    Member

    @tinkerpriest

    You might have to manually add the necessary code to your .htaccess file. Read about that in the codex http://codex.wordpress.org/Using_Permalinks

    I added the recommended to the .htaccess file

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    It will take me some time to figure all this out, but the site still works 🙂
    Thanks for the help.

    Bart

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Archives not working…?’ is closed to new replies.